The arrays are initially defined as follows:

var a1 = new Array(5);
a1[0] = "apple";
a1[1] = "banana";
a1[2] = "pear";
var a2 = new Array(5);
a2[0] = "aardvark";
a2[1] = "crocodile";
a2[2] = "lynx";
var a3 = ["vermillion", "teal", "ochre", "sienna"];
var a4 = [1,1,2,3,5,8,13,21,34,55,89,144,233];
var a5, a6, r1;

Method Definitions:

Arrays are only defined in Javascript 1.1 or higher.

The table below tests JavaScript 1.2 methods.

The table below tests JavaScript 1.3 methods.

Last Update: 11-17-2001