title: How to test the availability of asm.js in a web browser?
body: <p>Imagine I have a asmjs script but before running the script, I'd like to test and see if the browser supports asm.js or not. If it is <code>false</code>, display a message indicating that the browser is old or something like that, otherwise, execute the script.</p>
  
  <p>Can we utilize the idea of <code>"use asm"</code> somehow to detect if a web browser supports asm.js?</p>
  
  <pre><code>function MyAsmModule() {
      "use asm";
      // module body
  }
  </code></pre>