title: JavaScript - quickest way to extract document meta fields
body: <p>I need to extract the document's "description" meta tag.</p>
  
  <p>The default way would be to use document.getElementsByTagName('META') and then iterate through the array - as found in: <a href="http://www.rgagnon.com/jsdetails/js-0070.html" rel="nofollow noreferrer">http://www.rgagnon.com/jsdetails/js-0070.html</a></p>
  
  <p>But I'm wondering if there's no other quicker, "one line of code" approach. I'm not familiar with xPath - but maybe that could work? Any ideas?</p>