Re: Understanding Irakli’s code ("new" protocol)

Axel Rauschmayer axel at rauschma.de
Fri Jun 24 12:35:55 PDT 2011


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

axel at rauschma.de
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110624/72a9e372/attachment.html>


More information about the es-discuss mailing list