michael@0: michael@0: function foo() { michael@0: function D(){} michael@0: arr = [ michael@0: new (function D ( ) { michael@0: D += '' + foo; michael@0: }), michael@0: new D michael@0: ]; michael@0: } michael@0: foo();