Typescript – multidimensional array initialization
You only need [] to instantiate an array – this is true regardless of its type. The fact that the array is of an array type is immaterial. The same thing applies at the first level in your loop. It is merely an array and [] is a new empty array – job done. As … Read more