DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
js for loop array
const colors
=
[
"red"
,
"blue"
,
"green"
]
;
for
(
const color of colors
)
{
console.log
(
color
)
;
}
Source by www.hackerhero.com #
PREVIOUS
NEXT
Tagged:
#js
#loop
#array
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit