Debian Codegraph @

js/src/tests/test262/built-ins/Date/S15.9.4_A5.js

raw
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: Date constructor has length property whose value is 7
6 esid: sec-date-constructor
7 description: Checking Date.length property
8 ---*/
9 assert(Date.hasOwnProperty("length"), 'Date.hasOwnProperty("length") must return true');
10 assert.sameValue(Date.length, 7, 'The value of Date.length is expected to be 7');
11
12 reportCompare(0, 0);