You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you open it, it will just alert the bug.
And I used document.write to show it on html, though it sometimes doesn't work.
What is expected?
The code should run correctly
What is actually happening?
TypeError happened.
I'm using ES6 syntax import to import Vue.js in Safari (script[type=module]) ,but it seems the module closure makes 'this' of top level point undefined so global becomes undefined rather than window.
In order to show the bug clearly, I used dynamic import instead of static import on JSFiddle.
The text was updated successfully, but these errors were encountered:
Version
2.5.16
Reproduction link
https://jsfiddle.net/50wL7mdz/449624/
Steps to reproduce
When you open it, it will just alert the bug.
And I used
document.write
to show it on html, though it sometimes doesn't work.What is expected?
The code should run correctly
What is actually happening?
TypeError happened.
I'm using ES6 syntax import to import Vue.js in Safari (script[type=module]) ,but it seems the module closure makes 'this' of top level point undefined so global becomes undefined rather than window.
In order to show the bug clearly, I used dynamic import instead of static import on JSFiddle.
The text was updated successfully, but these errors were encountered: