Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js loop array

let colors = ['red', 'green', 'blue'];
for (const color of colors){
    console.log(color);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #loop #array
ADD COMMENT
Topic
Name
3+9 =