array.prototype.findindex
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,4 @@ | ||
# 2.0.2 | ||
- [Performance] the entry point should use the native function when compliant | ||
# 2.0.1 | ||
@@ -2,0 +5,0 @@ - [Fix] use call instead of apply in bound entry point function (#17) |
@@ -12,6 +12,8 @@ 'use strict'; | ||
var polyfill = getPolyfill(); | ||
var boundShim = function findIndex(array, predicate) { | ||
ES.RequireObjectCoercible(array); | ||
var args = slice.call(arguments, 1); | ||
return implementation.apply(array, args); | ||
return polyfill.apply(array, args); | ||
}; | ||
@@ -18,0 +20,0 @@ |
{ | ||
"name": "array.prototype.findindex", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Array.prototype.findIndex ES6 polyfill.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15081
164