chakra-core / chakra-core/ChakraCore

Modules do not throw TDZ errors for accessing imported TDZ'd bindings

Open
#3,251 3 comments 0 reactions 0 assignees View on GitHub
Bug Severity: 3
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

```js
import * as ns from './bug-dep.js';
print(ns.local1);
export let local1 = 23;
```
Actual: undefined
Expected: TDZ error on access of ns.local1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.