From e13d1e996909f68ee643df17fd7d87773c3e82a5 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 8 Feb 2021 20:28:23 +0000 Subject: support `for [await]...of` statements (#4627) --- lib/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transform.js') diff --git a/lib/transform.js b/lib/transform.js index ede6e254..716fb148 100644 --- a/lib/transform.js +++ b/lib/transform.js @@ -82,7 +82,7 @@ TreeTransformer.prototype = new TreeWalker; if (self.step) self.step = self.step.transform(tw); self.body = self.body.transform(tw); }); - DEF(AST_ForIn, function(self, tw) { + DEF(AST_ForEnumeration, function(self, tw) { self.init = self.init.transform(tw); self.object = self.object.transform(tw); self.body = self.body.transform(tw); -- cgit v1.2.3