JavaScript Functional Reference Depth Limit
<p>I was wondering if there is any functional depth limit to JavaScript. I'm asking because I'm working on a complex application and unfortunately, we cannot change the data structure.</p>

<p>For example, if I try to reference a variable such as:</p>

<p><code>Thi.sIs.An.Except.ionally[345].LongF.unct.ional[z].Refer.ence.Thats[23].Sev.eral.Lay.ers[96].Deep</code></p>

<p>I can sometimes set and get the value of the <code>Deep</code> struct and its members if it's in the same window, but if I include this element in another class or attempt to reference it from another page and set Deep's members, then deep later returns null or undefined for each of its members. The browser doesn't throw an error, I just get unexpected behavior.</p>

<p>Edit: I want to add, I am trying to reference <code>Deep</code> from a nested frame at least three levels down on the same domain.  For example, the frame would need to reference <code>Deep</code> in frame <code>Course</code>, two layers down from the main frame, but on a seperate branch from the frame that needs to acess it. The application we inherited uses frames, but these can be changed to iframes. Would changing these to iframes also work? </p>

<pre><code>parent.Topic.Course.Thi.sIs.An.Except.ionally[345].LongF.unct.ional[z].Refer.ence.Thats[23].Sev.eral.Lay.ers[96].Deep
</code></pre>

<p>Is there something that I'm missing here? Or some sort of reference for JavaScript functional depth?</p>
