Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Array / of / length.js
blob59de2ff7ef10009402f900f91c21596984ad5096
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-array.of
5 description: >
6   Array.of.length value and property descriptor
7 info: |
8   Array.of ( ...items )
10   The length property of the of function is 0.
11 includes: [propertyHelper.js]
12 ---*/
14 verifyProperty(Array.of, "length", {
15   value: 0,
16   writable: false,
17   enumerable: false,
18   configurable: true
19 });
21 reportCompare(0, 0);