The variables used for the JavaScript 1.1 properties test are defined as follows:

var a1 = new Array(5);
a1[0] = "1st element";
a1[1] = "more text";

The table below tests JavaScript 1.1 properties.

The variables used for the JavaScript 1.2 properties test are defined as follows:

var re1 = new RegExp(/d(b+)(d)/i);
var a2 = re1.exec("cdbBdbsbz");
var a3 = new Array(5);

The table below tests JavaScript 1.2 properties. If some of the results below are inaccurate, your browser may not properly support the RegExp object (some of the properties added for 1.2 are only defined when the array is generated with a RegExp (regular expression)).

Last Updated: 10-06-2001