Is this even possible? i see that on non-module script tags you can use document.currentScript is there an equivalent for modules?
I've come across import.meta.url which returns the module url. Is there something similar to get the script element itself?

<script type="module">elements in the same pageimportthe same third JS module - and pass-around a reference to a function (located in that third-module) into global-code which is then invoked (e.g. in an event-listener) - there would not be any<script>element that could be used.