diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-02-08 20:28:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 04:28:23 +0800 |
commit | e13d1e996909f68ee643df17fd7d87773c3e82a5 (patch) | |
tree | b519e7a0cd2c3150de25964aaa3399be135eaa7a /lib/transform.js | |
parent | aedc1e7fc9cab772734d559e149c0b4f70454321 (diff) | |
download | tracifyjs-e13d1e996909f68ee643df17fd7d87773c3e82a5.tar.gz tracifyjs-e13d1e996909f68ee643df17fd7d87773c3e82a5.zip |
support `for [await]...of` statements (#4627)
Diffstat (limited to 'lib/transform.js')
-rw-r--r-- | lib/transform.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |