fix unnecessary default parameter iife - fixes #251
This commit is contained in:
parent
df9fa32b82
commit
02a50c9f7e
@ -31,7 +31,7 @@ exports.Function = function (node, parent, file, scope) {
|
|||||||
throw file.errorWithNode(node, "Temporal dead zone - accessing a variable before it's initialized");
|
throw file.errorWithNode(node, "Temporal dead zone - accessing a variable before it's initialized");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scope.has(node.name)) {
|
if (scope.has(node.name, true)) {
|
||||||
iife = true;
|
iife = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user