return when desugaring to closures

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Thu Aug 21 16:05:55 PDT 2008


Brendan Eich wrote:
> The maddening mix of dynamic scope (the hopeless global top-level,  
> with, eval) and lexical scope [...]

'with' is lexically scoped.
<http://groups.google.com/group/google-caja-discuss/browse_thread/thread/edc12e29e2cfba9f/c2ea493e83a6bf1f?lnk=gst#c2ea493e83a6bf1f>

(Please don't interpret this as a defence of 'with'.)

-- 
David-Sarah Hopwood


More information about the Es-discuss mailing list