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
6 lines
85 B
JavaScript
6 lines
85 B
JavaScript
const x = 10;
|
|
|
|
export default function stuff(n) {
|
|
console.log("HELLO " + n + x);
|
|
}
|