{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lect23TwoDimArraysCookies - Announcements No posting of...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Announcements No posting of code in the forum Check class announcements daily 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 Two-Dimensional Arrays JavaScript does not support actual two-dimensional arrays You can simulate two-dimensional arrays by using arrays of arrays About two-dimensional arrays You can pass them and return them from functions like one-dimensional arrays Any modifications in the function will be permanent You can have ragged arrays Nested loops (in particular for loops) are used with two-dimensional arrays Example: TwoDimensionalArrays.html Example: Let’s define a two -dimensional array of strings
Background image of page 2