TIL > javascript >
How to fill an array with same value many times
Array
(
5
)
.
fill
(
2
)
`
//-> [2,2,2,2,2]