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.
4 esid: sec-array.prototype.findindex
6 Returns abrupt from getting property value from `this`.
8 22.1.3.9 Array.prototype.findIndex ( predicate[ , thisArg ] )
12 8. Repeat, while k < len
13 a. Let Pk be ToString(k).
14 b. Let kValue be Get(O, Pk).
15 c. ReturnIfAbrupt(kValue).
23 Object.defineProperty(o, 0, {
25 throw new Test262Error();
29 assert.throws(Test262Error, function() {
30 [].findIndex.call(o, function() {});