title: Handling meta data with Javascript
body: <p>I am trying to read meta data from an html page using JavaScript. I created an array of all the meta tags and I am trying to read the property field, but I cant seem to get it to work. Here is the console:</p>
  
  <pre><code>&gt;meta[6]
    &lt;meta property=​"og:​image" content=​"http:​/​/​www. example.com/img/1.png"&gt;​
  &gt;meta[6].property
    undefined
  &gt;meta[6].content
    "http:​/​/​www. example.com/img/1.png"
  </code></pre>
  
  <p>How am I able to access the content but not the property field and how can I get the property?</p>