DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
javascript loop through array
var colors = ["red","blue","green"]; colors.forEach(function(color) { console.log(color); });
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#javascript
#loop
#array
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit