title: How to access array property on JavaScript object
body: <p>This is very strange, but I just can't access a property which is an array of objects on a given JavaScript object. I've already outputted on Chrome's console the object itself and the attempt to access the property, and the result leads me to more confusion. 
  Here's what I've received on the Chrome's console about an object present on <code>var</code> named <code>quest</code>:</p>
  
  <pre><code>[Object]
  0: Object
      FuncaoValNum: ""
      IDQuestaoMultiplaEscolha: 0
      Opcoes: Array[2]
          0: Object
              IDOpcaoQuestaoMultiplaEscolha: 0
              IDQuestaoMultiplaEscolha: "0"
              Ordem: 0
              Texto: "Op1"
              (...)
              __proto__: Object
          1: Object
              IDOpcaoQuestaoMultiplaEscolha: 0
              IDQuestaoMultiplaEscolha: "0"
              Ordem: 1
              Texto: "Op2"
              (...)
              __proto__: Object
          length: 2
          __proto__: Array[0]
      (...)
      __proto__: Object
      length: 1
  __proto__: Array[0]
  </code></pre>
  
  <p>and on the following line of outputting the above info, I just try to access the object's <code>Opcoes</code> array's length by using <code>quest.Opcoes.length</code>. The result is:</p>
  
  <pre><code>undefined 
  </code></pre>
  
  <p>Really confused about it as it seems that <code>quest</code> is an object with an array property named <code>Opcoes</code> with 2 other objects on it, and yet, I just can't access it's <code>.length</code> with <code>quest.Opcoes.length</code> or any other way that I could think of.</p>
  
  <p>What am I doing wrong?</p>