Subj : Weird nested function behavior in IE To : netscape.public.mozilla.jseng From : ryan.breen Date : Tue Nov 02 2004 02:18 pm The following: if(true) { outer.prototype.inner=hello_world; function outer() { this.inner(); } function hello_world() { alert("HI"); } var hold_me =new outer(); } works in IE but fails in Firefox or Rhino. In Rhino, the error is that 'outer' is evaluated as a FUNCTION_EXPRESSION_STATEMENT rather than a FUNCTION_STATEMENT but fn.itsClosure is null. Has anyone seen anything like this before? FYI, I'm using 1.5R3. .