Answers for "javascript for eac loop"

18

javascript for eac loop

var colors = ["red", "blue", "green"];
colors.forEach(function(color) {
    console.log(color);
});
Posted by: Guest on July-19-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language