Re: features for es that would make it a perfect intermediate compiler target

2009-03-22 Thread Luke Kenneth Casson Leighton
On Sun, Mar 22, 2009 at 12:36 AM, Ash Berlin ash_...@firemirror.com wrote: Comments inline. thanks :) 2) undefined. specifically, the lack of exception raising when an undefined variable is encountered. that is _such_ a disaster it's unreal. think about how a compiler of a dynamic

Alternative to Function.bind

2009-03-22 Thread Igor Bukanov
Various current proposals for Function.bind have a drawback that in a typical situation one needs to use the reference to the object twice as in obj.method.bind(obj) This double-referencing can be avoided if bind would be applied to the object, not to the function. The result of the bind call