var array = [20, 30, 40, 50, 60];
var newarray = [];
$.each(array, function (index, value) {
newarray.push(value / 100);
});
console.log(newarray);
var newarray = [];
$.each(array, function (index, value) {
newarray.push(value / 100);
});
console.log(newarray);
No comments:
Post a Comment