aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseGetTag.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_baseGetTag.js')
-rw-r--r--node_modules/lodash/_baseGetTag.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/node_modules/lodash/_baseGetTag.js b/node_modules/lodash/_baseGetTag.js
index cf869ac6e..b927ccc17 100644
--- a/node_modules/lodash/_baseGetTag.js
+++ b/node_modules/lodash/_baseGetTag.js
@@ -20,8 +20,7 @@ function baseGetTag(value) {
if (value == null) {
return value === undefined ? undefinedTag : nullTag;
}
- value = Object(value);
- return (symToStringTag && symToStringTag in value)
+ return (symToStringTag && symToStringTag in Object(value))
? getRawTag(value)
: objectToString(value);
}