Basics of Javascript Arrays
Javascript arrays are list-like objects where you can store multiple values. In this codecast we'll learn about:
- Defining Arrays using the Literal Bracket Syntax
- Defining Arrays using the
Array
Constructor Syntax - Fetching element values from arrays
- Setting element values in arrays
- Modifying element vales in arrays
- Getting the length of an array (amount of elements it contains) using the
length
property.
Related:
Warning: Invalid argument supplied for foreach() in /var/www/cssdeck.com/app/modules/labs/views/_details.php on line 68