Arrays of arrays


Hey everyone. I hate to ask for help but I'm stuck. Whenever I try to compile the code, the simulator tells me that I have fewer than three columns. What am I doing wrong?

var newArray = [[1,1,1],[2,2,2],[3,3,3]];


Your code is correct. When I run it in my editor, it works fine. Try a different browser, or reloading the page.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.