Files
sousa-gecko/devtools/client/debugger/test/mochitest/examples/module-gc2.js
T
Bryan Thrall e54ad129df Bug 1605686 - Reparse scripts as modules r=nchevobbe,devtools-reviewers,arai
I merged Brian Hackett's original patch (D59955) with Alex's test improvements
(D207243) and rebased ontocentral.

Note that the original evaluated script in Source-parse.js is not using strict
mode, so the test already demonstrated that reparsing non-strict mode succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D213690
2026-01-14 22:21:37 +00:00

6 lines
85 B
JavaScript

const x = 10;
export default function stuff(n) {
console.log("HELLO " + n + x);
}