michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * The Boolean type have two values, called true and false michael@0: * michael@0: * @path ch08/8.3/S8.3_A1_T1.js michael@0: * @description Assign true and false to variables michael@0: */ michael@0: michael@0: if (x !== undefined) { michael@0: $ERROR("#0 x !== undefined, but actual is "+ x); michael@0: } michael@0: michael@0: //////////////////////////////////////////////////////////////////////// michael@0: // CHECK#1 michael@0: var x = true; michael@0: var y = false; michael@0: michael@0: if (x !== true) { michael@0: $ERROR("#1.1 x !== true, but actual is "+ x); michael@0: } michael@0: michael@0: if (y !== false) { michael@0: $ERROR("#1.1 y !== false, but actual is "+ y); michael@0: } michael@0: michael@0: // michael@0: //////////////////////////////////////////////////////////////////////// michael@0: