mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Use the new operator with the Array constructor.
This commit is contained in:
@@ -21,7 +21,7 @@ function composeArgsRight(args, partials, holders, isCurried) {
|
||||
const holdersLength = holders.length
|
||||
const rightLength = partials.length
|
||||
const rangeLength = nativeMax(argsLength - holdersLength, 0)
|
||||
const result = Array(rangeLength + rightLength)
|
||||
const result = new Array(rangeLength + rightLength)
|
||||
const isUncurried = !isCurried
|
||||
|
||||
while (++argsIndex < rangeLength) {
|
||||
|
||||
Reference in New Issue
Block a user