Accessing Multidimensional Arrays
To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.
Let me start by totally contradicting the title of this lesson and stating that there’s actually no such thing as multidimensional arrays in JavaScript. But before you start scratching your head and wondering whether I’ve drunk too many cups of tea, let me say that you can simulate multidimensional arrays in JavaScript by assigning new arrays as the values for elements of an existing array.
But what exactly ...
Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.