JavaScript Array.length returning 0
<p>I have javascript Array that looks like <a href="https://i.stack.imgur.com/ybDxr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ybDxr.png" alt="enter image description here"></a></p>

<p>The problem is <code>Object.mappings</code> has 3 elements which are clearly printed in console with <code>console.log()</code>, but when I try to find length of the array it returns <code>0</code>. I tried stringifying the array and it just prints "[]".</p>

<p>what Am I doing wrong here?</p>