Crear matriz en JavaScript contiene 10 elementos

// create an array with length 7
[...Array(7).keys()]
ashirbad-panigrahi