what is the best way define array cell if it's not defined?
<p>I have a 2nd level array, that at a cetain point in the code can be ether undefined or contain value. If it is undefined I need to define it, without giving it any value.
this is what i did:</p>

<pre><code>arr[arr2["stripID"]] = typeof(arr[arr2["stripID"]]) === 'undefined' ? [] : arr[arr2["stripID"]];
</code></pre>

<p>is there a better or shorter way?</p>
