blob: 8c49b573c093713848f734a72a6a7dad7a2020c1 [file] [log] [blame] [edit]
import { B } from "./B.js"
import { shouldThrow } from "../resources/assert.js"
export let A = "A";
shouldThrow(() => {
eval("B");
}, `ReferenceError: Cannot access 'B' before initialization.`);