$.map

1
2
3
4
5
var nameMe = [1, 5, 12, 51]
newvar = $.map(nameMe, function(value) {
return value * 2
});
console.log(newvar)