Numpy Append To Empty Array In Javascript Interview