Test that returning from inside a switch statement that has a lexical environment (for const/let declarations) properly emits SetLexicalEnvironment to restore the parent environment before each Return instruction. |
||
|---|---|---|
| .. | ||
| expected | ||
| input | ||
| output | ||
Test that returning from inside a switch statement that has a lexical environment (for const/let declarations) properly emits SetLexicalEnvironment to restore the parent environment before each Return instruction. |
||
|---|---|---|
| .. | ||
| expected | ||
| input | ||
| output | ||