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