Files
2026-08-27 21:09:14 +00:00

15 lines
250 B
JavaScript

function hoisting() {
let foo = () => {
return bar + baz;
};
let bar = 3;
let baz = 2;
return foo(); // OK: called outside of TDZ for bar/baz
}
export const FIXTURE_ENTRYPOINT = {
fn: hoisting,
params: [],
isComponent: false,
};