Numpy Create And Fill Array Function Js