title: How to detect async function support without eval?
body: <p>Here's one way to detect if the current engine supports async functions:</p>
  
  <pre><code>const supportsAsyncFunctions = (() =&gt; {
    try {
      new Function('async () =&gt; {}')();
    } catch (error) {
      return false;
    }
  
    return true;
  })();
  </code></pre>
  
  <p>But is there a way to do it without using <code>eval</code> or <code>Function</code>?</p>