2 var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
3 var $lastIndexOf = require('../internals/array-last-index-of');
5 var aTypedArray = ArrayBufferViewCore.aTypedArray;
6 var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
8 // `%TypedArray%.prototype.lastIndexOf` method
9 // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof
10 // eslint-disable-next-line no-unused-vars
11 exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
12 return $lastIndexOf.apply(aTypedArray(this), arguments);