Table of Contents

Arrays

Simple Array

var myArray = new Array();
myArray[0] = "Alice";
myArray[1] = "Fred";
...
var myArray = new Array("Alice", "Fred", "Jean");
 
// or
 
var myArray = ["Alice", "Fred", "Jean"];

Dynamically populating an array

myArray[myArray.length] = "Steve";

Multidimensional Arrays

FIXME

Strings and Arrays

Sorting an array

FIXME

Dividing an array

FIXME

Combining arrays

FIXME