DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to use for of in javascript
const
array1
=
[
'a'
,
'b'
,
'c'
]
;
for
(
const
element
of
array1
)
{
console
.
log
(
element
)
;
}
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit