Answers for "repeated in more array in javascript"

1

javascript create array with repeated values

Array(5).fill(2)
//=> [2, 2, 2, 2, 2]
Posted by: Guest on February-17-2021

Code answers related to "repeated in more array in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language