add to array every pass through for statement 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;
});