I have been reading online and some places say it isn\'t possible, some say it is and then give an example and others refute the example, etc.
How do I dec
Array(m).fill(v).map(() => Array(n).fill(v))
You can create a 2 Dimensional array m x n with initial value m and n can be any numbers v can be any value string, number, undefined.
m x n
m
n
v
string
number
undefined
One approach can be var a = [m][n]
var a = [m][n]