Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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

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