Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Date/parse/S15.9.4.2_A2_T1.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: The "length" property of the "parse" is 1
6 esid: sec-date.parse
7 es5id: 15.9.4.2_A2_T1
8 description: The "length" property of the "parse" is 1
9 ---*/
10
11 if (Date.parse.hasOwnProperty("length") !== true) {
12 $ERROR('#1: The parse has a "length" property');
13 }
14
15 if (Date.parse.length !== 1) {
16 $ERROR('#2: The "length" property of the parse is 1');
17 }