I've a question about the explanation in "Arrays of Arrays":
You can make a two-dimensional array by nesting arrays one layer deep, like so:
var twoDimensional = [[1, 1], [1, 1]];
This array is two-dimensional because it has two rows that each contain two items. If you were to put a new line between the two rows, you could log a 2D object—a square—to the console...
My question is in regards to the meaning of "object" used here (considering this section is called "Arrays and Objects"). Do the instructions just mean "object" as used in everyday English, or is this something programming-specific?
I started reading the Mozilla re-intro to JS doc last night and got up to at least the object section, so I have at least a vague idea of what JS objects are (like dictionaries or Ruby hashes). I didn't want to jump the gun in asking and see my question answered in a later section, so I went through all the array exercises until the first object lesson, and the syntax there looked like what I saw in the Mozilla doc and not the 2D array square.
Can someone more knowledgeable clarify for me what is meant by "object" in this instance? Does it mean a general "thing"? Is it JS jargon? Something else?
Replace this line with your code.