DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript loop through array
let
array
=
[
'Item 1'
,
'Item 2'
,
'Item 3'
]
;
for
(
let
item
of
array
)
{
console
.
log
(
item
)
;
}
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#javascript
#loop
#array
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit