es.array.last-index-of.js 399 B

123456789
  1. var $ = require('../internals/export');
  2. var lastIndexOf = require('../internals/array-last-index-of');
  3. // `Array.prototype.lastIndexOf` method
  4. // https://tc39.es/ecma262/#sec-array.prototype.lastindexof
  5. // eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing
  6. $({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {
  7. lastIndexOf: lastIndexOf
  8. });