Answers for "typescript instantiate 2d array"

0

typescript instantiate 2d array

let myArray: boolean[][] = Array(10).fill([]).map(() => Array(10).fill(false));
Posted by: Guest on June-28-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language