Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Arrays!
You have completed JavaScript Arrays!
Preview
Learn how to create and work with arrays that contain other arrays, or "multidimensional arrays".
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Arrays can contain strings,
numbers, Booleans, and other types.
0:00
Arrays can also hold any
combination of values.
0:05
For example, an array might have
the string Hello in the first position,
0:08
the number 23 in the second, and
the value true in the third position.
0:13
In fact,
you can place an array within an array,
0:17
even create an array that contains
nothing but other arrays.
0:20
An array inside an array is called a
multidimensional or two dimensional array.
0:24
That might sound a bit strange and
confusing right now, but you can start to
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up