typescript instantiate 2d array

Solutions on MaxInterview for typescript instantiate 2d array by the best coders in the world

showing results for - "typescript instantiate 2d array"
Nael
08 Jan 2020
1let myArray: boolean[][] = Array(10).fill([]).map(() => Array(10).fill(false));
similar questions
queries leading to this page
typescript instantiate 2d array