Hello I am creating a two dimensional array in javascript. the object looks like this.
totalCells = [
lineNumber = 0,
cells = []
];
How do I add that to this array ?
Can I do totalCells.push(1, ['a', 'b', 'c']);
But this throws me the error : cells is not defined