DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript while loops
const
ourArray
=
[
]
;
let
i
=
0
;
while
(
i
<
5
)
{
ourArray
.
push
(
i
)
;
i
++
;
}
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#javascript
#loops
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit