2 File Name: instanceof-1.js
4 Description: instanceof operator
6 Author: christine@netscape.com
10 var VERSION = "ECMA_2";
11 var TITLE = "instanceof operator";
14 writeHeaderToLog( SECTION + " "+ TITLE);
17 var testcases = new Array();
19 var b = new Boolean();
21 testcases[tc++] = new TestCase( SECTION,
22 "var b = new Boolean(); b instanceof Boolean",
24 b instanceof Boolean );
26 testcases[tc++] = new TestCase( SECTION,
27 "b instanceof Object",
29 b instanceof Object );