Non-method functions and this

Brendan Eich brendan at mozilla.com
Mon May 16 13:38:05 PDT 2011


On May 16, 2011, at 1:36 PM, Axel Rauschmayer wrote:

> Thanks for explaining the details. With "temporary result", I meant what you call "object reference". Similar to Common Lisp places (setf etc.), I suppose. If you use the conditional operator, you can force the dereferencing of an object reference:
> 
> (true ? obj.method : null)(arg)

Right, or the comma operator, or && or ||.

/be



More information about the es-discuss mailing list