Debian Codegraph @

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