mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
perfomance fixes, eslint fixes (#4482)
This commit is contained in:
committed by
John-David Dalton
parent
29eb5713f5
commit
898b378f06
@@ -14,7 +14,7 @@ function createAssigner(assigner) {
|
||||
let customizer = length > 1 ? sources[length - 1] : undefined
|
||||
const guard = length > 2 ? sources[2] : undefined
|
||||
|
||||
customizer = (assigner.length > 3 && typeof customizer == 'function')
|
||||
customizer = (assigner.length > 3 && typeof customizer === 'function')
|
||||
? (length--, customizer)
|
||||
: undefined
|
||||
|
||||
|
||||
Reference in New Issue
Block a user