Question : create array in javascript contains 10 elements
Answered by : ashirbad-panigrahi
// create an array with length 7
[...Array(7).keys()]
Source : | Last Update : Tue, 14 Sep 21
Answered by : ashirbad-panigrahi
// create an array with length 7
[...Array(7).keys()]
Source : | Last Update : Tue, 14 Sep 21