DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript loop and array
var
array
=
[
"hello"
,
"world"
]
;
array
.
forEach
(
item
=>
{
console
.
log
(
item
)
;
}
)
;
Source by www.codegrepper.com #
PREVIOUS
NEXT
Tagged:
#javascript
#loop
#array
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit