Hello,
Following up from the discussion we had yesterday, I tested the behavior of `new Function("import(str)")` and `(0, eval)("import(str)")` in the main browsers.
- Firefox follows the spec, with dynamic scoping
- Chrome follows the spec, with dynamic scoping, on the first page load. On page reload it behaves weirdly.
- I do not understand what Safari does. It has some form of dynamic scoping, but it does not match the spec. I do not have any explanation for the two different "Polyfilled indirect eval" and "Inline indirect eval in folder/" results.
Cheers,