Is there a way to change the format of this list
[[" ", " ", " ", " ", " ", " ", " ", " ", " ", " "]]
to look like [" ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
?
I recently added an array within another array, but now I want to remove the outer brackets from it. Any suggestions on how to do this?
Currently searching for a suitable method to achieve this.
let ii :any[]=[];
const i = ' '.repeat(10) ;
const d = i.split('') ;
const aa=ii.push(d);
console.log(ii,ii.length);
console.log(d,d.length );