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
The Document.currentScript property returns the <script> element whose script is currently being processed and isn't a JavaScript module. (For modules use import.meta instead.)
i'm basically doing:
<script type="module">
import { thing } from './thing.js';
thing(me());
</script>
The text was updated successfully, but these errors were encountered:
from mdn docs:
https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
i'm basically doing:
The text was updated successfully, but these errors were encountered: