The Boolean objects were defined as follows:

b1 = new Boolean();
b2 = new Boolean("abc");

Method definitions

The Boolean object is only defined in JavaScript 1.1 or higher.

The table below tests a method that only exists in JavaScript 1.3 or higher.

Last Updated: 10-06-2001