read javascript object properties
<p>let's say I have a JavaScript object of this form:</p>

<pre><code>var myJsObject = 
{
    A.b: 1
    A.c: 2
}
</code></pre>

<p>How do I get the value of let's say <code>A.c</code>?</p>

<p>I tried:</p>

<pre><code>var value = myJsObject['A.c']
</code></pre>

<p>But that gave me the error <code>Uncaught TypeError: Cannot set property 'A.c' of undefined</code></p>

<p>Thank you</p>
