Can't set property to object
<pre><code>var data = {};


....

data[someprop][someotherprop] = 'bla bla'
</code></pre>

<p>I get</p>

<p><code>Uncaught TypeError: Cannot read property ... of undefined</code> and <code>Cannot set property of...</code></p>

<p>Yes, the object doesn't have these properties ..yet, but I'm setting them in that line where I get the error lol. So what's up with that?</p>
