Skip to content

Commit 84d8ed7

Browse files
committed
Removing unneeded array
1 parent 5ab8b65 commit 84d8ed7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/BabelPlugin.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
function Plugin(babel) {
22
const t = babel.types;
3-
const tcoTypes = [
4-
"SequenceExpression",
5-
"LogicalExpression",
6-
"ConditionalExpression",
7-
"CallExpression"
8-
];
93
function markTailCall(expr) {
104
if (expr.type === "CallExpression") {
115
expr.isTailCall = true;

0 commit comments

Comments
 (0)