store value to new array in foreach node js code example
Example: javascript foreach
var colors = ['red', 'blue', 'green'];
colors.forEach(function(color) {
console.log(color);
});
var colors = ['red', 'blue', 'green'];
colors.forEach(function(color) {
console.log(color);
});