dillon1000/react

Commit

Support var declaration hoisting

Var declarations were treated identical as other declarations which cause code 
relying on them getting hoisted now triggers runtime exception on TDZ. 

This diff fixed that by generating `var` for `var` so they can be hoisted as 
usual. 

commit-id:00ab02f6
Browse files
Changed paths1 file
First-parent comparison
M compiler/forget/src/BackEnd/JS.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…