S15.2.3_A3.js (493B)
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: Object constructor has length property whose value is 1 6 es5id: 15.2.3_A3 7 description: Checking Object.length 8 ---*/ 9 assert( 10 Object.prototype.hasOwnProperty.call(Object, "length"), 11 "The Object constructor has a 'length' own property" 12 ); 13 14 assert.sameValue(Object.length, 1, 'The value of Object.length is expected to be 1'); 15 16 reportCompare(0, 0);