js call a function on each item in array code example
Example: perform a function on each element of array javascript
var new_array = old_array.map(function(e) {
e.data = e.data.split(',');
return e;
});
var new_array = old_array.map(function(e) {
e.data = e.data.split(',');
return e;
});