DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
fill array with values javascript
let
filledArray
=
new
Array
(
10
)
.
fill
(
{
'hello'
:
'goodbye'
}
)
;
Source by medium.com #
PREVIOUS
NEXT
Tagged:
#fill
#array
#values
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit