title: Get the file name of the current ES module
body: <p>Is it possible to get the file name of the current JavaScript <a href="https://v8.dev/features/modules" rel="noreferrer">module</a>?  </p>
  
  <pre class="lang-js prettyprint-override"><code>// item.mjs
  function printName() {
    console.log(...);  // &gt;&gt; item or item.mjs
  };
  </code></pre>
  
  <p>If not, why not? Sandboxing, etc.</p>