mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Convert remaining vars to let/const.
This commit is contained in:
@@ -26,10 +26,11 @@ const symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
||||
function getRawTag(value) {
|
||||
const isOwn = hasOwnProperty.call(value, symToStringTag);
|
||||
const tag = value[symToStringTag];
|
||||
let unmasked = false;
|
||||
|
||||
try {
|
||||
value[symToStringTag] = undefined;
|
||||
var unmasked = true;
|
||||
unmasked = true;
|
||||
} catch (e) {}
|
||||
|
||||
const result = nativeObjectToString.call(value);
|
||||
|
||||
Reference in New Issue
Block a user