Numpy Create And Fill Array Javascript Length Method