On 6 Mar 2007, at 21:21, Michael Jackson wrote:
Ha ha...now I KNOW you're an idiot. First, learn javascript. Your syntax is WRONG.
Actually his syntax is just fine. What did you think was wrong with it?
[18:51] andy $ js js> js> function foo () { return { // bar: function ( x ) { bar: function ( x, y ) { return x + y; }, }; } js> x = foo() [object Object] js> x.bar(1, 2) 3