Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Array / prototype / entries / length.js
blob28f3093b6b69ca76a06eaacb8849795bdd5443b0
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.prototype.entries
5 description: >
6   Array.prototype.entries.length value and descriptor.
7 info: |
8   22.1.3.4 Array.prototype.entries ( )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 assert.sameValue(
16   Array.prototype.entries.length, 0,
17   'The value of `Array.prototype.entries.length` is `0`'
20 verifyNotEnumerable(Array.prototype.entries, 'length');
21 verifyNotWritable(Array.prototype.entries, 'length');
22 verifyConfigurable(Array.prototype.entries, 'length');
24 reportCompare(0, 0);