mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
0ebda3c33e
`hygiene` pass had a bug related to globally defined variables like `Object` or `undefined`. This pr make hygiene to utilize use-bind conflict to resolve global objects correctly. Closes #605. block_scoping pass had a bug with closure in for statement with let or const. This pr fixes it by extracting a loop body as a variable. Closes #604. |
||
---|---|---|
.. | ||
.swcrc | ||
input.js |