title: Javascript: async vs async="async"
body: <p>async is a good way to eliminate render-blocking resources, so I am trying to implement that in one of my projects. However, I see people declaring that in different ways:</p>
  
  <pre><code>&lt;script src="demo_async.js" async&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;script src="demo_async.js" async="async"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Does it matter which way it is being declared? Especially in terms of browser compatibility...</p>