Unoptimal TDZ compliation
Open
Spec: TDZ
- Dominant language
- TypeScript
- Stars
- 44k
- Forks
- 6k
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 23
Description
```js
{
let x;
function foo() { x; }
escape(foo);
}
```
We do not need the check here, similarly to how we do not emit it for this code:
```js
{
let x;
function foo() { x; }
foo();
}
```
Contributor guide
Assessment
This issue has not been assessed yet.