Numpy Find Closest Value In Array Js W3schools