Remove assignment to non-existing var
This commit is contained in:
parent
cc12062b9c
commit
f3c70d76ef
@ -707,7 +707,7 @@
|
|||||||
kind = prop.kind = "init";
|
kind = prop.kind = "init";
|
||||||
} else if (options.ecmaVersion >= 5 && prop.key.type === "Identifier" &&
|
} else if (options.ecmaVersion >= 5 && prop.key.type === "Identifier" &&
|
||||||
(prop.key.name === "get" || prop.key.name === "set")) {
|
(prop.key.name === "get" || prop.key.name === "set")) {
|
||||||
isGetSet = sawGetSet = true;
|
isGetSet = true;
|
||||||
kind = prop.kind = prop.key.name;
|
kind = prop.kind = prop.key.name;
|
||||||
prop.key = parsePropertyName() || dummyIdent();
|
prop.key = parsePropertyName() || dummyIdent();
|
||||||
prop.value = parseFunction(startNode(), false);
|
prop.value = parseFunction(startNode(), false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user