mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Switch condition order.
This commit is contained in:
committed by
jdalton
parent
f478d916aa
commit
29b7ca4c25
@@ -1826,7 +1826,7 @@
|
||||
var tag = objToString.call(value),
|
||||
isFunc = tag == funcTag;
|
||||
|
||||
if (tag == argsTag || tag == objectTag || (isFunc && !object)) {
|
||||
if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
|
||||
if (isHostObject(value)) {
|
||||
return object ? value : {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user