2 var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
3 var $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex;
5 var aTypedArray = ArrayBufferViewCore.aTypedArray;
6 var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
8 // `%TypedArray%.prototype.findLastIndex` method
9 // https://github.com/tc39/proposal-array-find-from-last
10 exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) {
11 return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);