mirror of https://github.com/tc39/test262.git
9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
|
import { B } from "./B.js"
|
||
|
import { shouldThrow } from "../resources/assert.js"
|
||
|
|
||
|
export let A = "A";
|
||
|
|
||
|
shouldThrow(() => {
|
||
|
eval("B");
|
||
|
}, `ReferenceError: Cannot access uninitialized variable.`);
|