blob: 62c1110d83994a9f07e7c3f43d1aa74dd2c5af51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.of
description: >
Array.of.length value and property descriptor
info: |
Array.of ( ...items )
The length property of the of function is 0.
includes: [propertyHelper.js]
---*/
assert.sameValue(
Array.of.length, 0,
'The value of `Array.of.length` is `0`'
);
verifyNotEnumerable(Array.of, 'length');
verifyNotWritable(Array.of, 'length');
verifyConfigurable(Array.of, 'length');
reportCompare(0, 0);
|