- Notifications
You must be signed in to change notification settings - Fork29
Open
Description
from mdn docs:
https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
The Document.currentScript property returns the<script> element whose script is currently being processed andisn't a JavaScript module. (For modules useimport.meta instead.)
i'm basically doing:
<script type="module">import { thing } from './thing.js';thing(me());</script>
Metadata
Metadata
Assignees
Labels
No labels