blob: f5f3f78354b1707a3539d7735b98041c4ca96979 (
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) 2021 Microsoft. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.findlastindex
description: Array.prototype.findLastIndex.length value and descriptor.
info: |
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [array-find-from-last]
---*/
assert.sameValue(
Array.prototype.findLastIndex.length, 1,
'The value of `Array.prototype.findLastIndex.length` is `1`'
);
verifyProperty(Array.prototype.findLastIndex, "length", {
enumerable: false,
writable: false,
configurable: true
});
reportCompare(0, 0);
|