diff options
Diffstat (limited to 'node_modules/core-js/modules/es.array.last-index-of.js')
| -rw-r--r-- | node_modules/core-js/modules/es.array.last-index-of.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es.array.last-index-of.js b/node_modules/core-js/modules/es.array.last-index-of.js new file mode 100644 index 0000000..d209055 --- /dev/null +++ b/node_modules/core-js/modules/es.array.last-index-of.js @@ -0,0 +1,8 @@ +var $ = require('../internals/export'); +var lastIndexOf = require('../internals/array-last-index-of'); + +// `Array.prototype.lastIndexOf` method +// https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof +$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { + lastIndexOf: lastIndexOf +}); |
