For current JavaScript, yes. But to complement the “prototypes as classes” 
proposal, you need to handle non-function objects.

On Jun 24, 2011, at 21:30 , Juan Ignacio Dopazo wrote:

> Hey Axel! Actually I think the whole new/extend paradigm is better left only 
> for functions.
> 
> Take a look a this gist https://gist.github.com/1033258

-- 
Dr. Axel Rauschmayer

[email protected]
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to