DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
For Of Loop In JavaScript
let
items
=
[
"a"
,
"b"
,
"c"
,
"d"
]
;
for
(
item
of
items
)
{
console
.
log
(
item
)
;
/*yields a b c d*/
}
Source by www.dicoding.com #
PREVIOUS
NEXT
Tagged:
#For
#Of
#Loop
#In
#JavaScript
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit