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: * Global object has properties such as built-in objects such as michael@0: * Math, String, Date, parseInt, etc michael@0: * michael@0: * @path ch10/10.2/10.2.3/S10.2.3_A1.2_T1.js michael@0: * @description Function execution context - Value Properties michael@0: */ michael@0: michael@0: function test() { michael@0: //CHECK#1 michael@0: if ( NaN === null ) { michael@0: $ERROR("#1: NaN === null"); michael@0: } michael@0: michael@0: //CHECK#2 michael@0: if ( Infinity === null ) { michael@0: $ERROR("#2: Infinity === null"); michael@0: } michael@0: michael@0: //CHECK#3 michael@0: if ( undefined === null ) { michael@0: $ERROR("#3: undefined === null"); michael@0: } michael@0: } michael@0: michael@0: test(); michael@0: