      })();
        </script>
      </li>

      <li>
        <strong>user constructor</strong>
        <code>
          <span id="testUserConstructor"></span>
        </code>
        <script>
          class UserConstructor {}
          userCstr = new UserConstructor();
        </script>
        <script type="text/partytown">
          (async function () {
            const elm = document.getElementById('testUserConstructor');
            elm.textContent = String(window.userCstr);
          })();
        <