I would like to increase my performance of js code write a clean code... can you tell me how to do it... providing my fiddle below with js code...http://jsfiddle.net/YYg8U/var myNumbersToSort = [-1, 2, -3, 4, 0.3, -0.001];function getClosestToZero(numberSet) {    var i = 0, positiveSet = [], positiveClosest = 0;    for (i = 0; i < numberSet.length; i += 1) {        positiveSet.push(numberSet[i] >= 0 ? numberSet[i] : numberSet[i] * -1);    }    positiveClosest = Math.min.apply(Math, positiveSet);    return numberSet[positiveSet.indexOf(positiveClosest)];}alert(getClosestToZero(myNumbersToSort));
cleaning up and increasing performance of js code
javascript;jquery;performance