## Hill-Climbing Algorithm implementation for the sphere function in JavaScript

The Sphere function is an easy meta-heuristic local-search problem to solve. It is expressed as "the summation of squares of all numbers in an array" ... E.g. sphere([1,2,3]) = sum([1,4,9]) = 14; The sphere function usually limits number inputs to -5.12 >= n <= 5.…