S15.7.3_A4.js (377B)
1 // Copyright 2009 the Sputnik authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 info: The Number constructor has the property "NaN" 6 es5id: 15.7.3_A4 7 description: Checking existence of the property "NaN" 8 ---*/ 9 assert(Number.hasOwnProperty("NaN"), 'Number.hasOwnProperty("NaN") must return true'); 10 11 reportCompare(0, 0);