Numpy Square All Values In Array Javascript Methods Syntax