mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Remove apply.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import apply from './.internal/apply.js'
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with its arguments transformed.
|
||||
@@ -35,7 +34,7 @@ function overArgs(func, transforms) {
|
||||
while (++index < length) {
|
||||
args[index] = transforms[index].call(this, args[index])
|
||||
}
|
||||
return apply(func, this, args)
|
||||
return func.apply(this, args)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user