Summary: prototypes as classes

Axel Rauschmayer axel at rauschma.de
Wed Jun 29 18:20:08 PDT 2011


> On the other hand people may find Point.new(x, y) as intuitive, as they will think of ruby instead of java.

As an aside, you can see API code for the above functionality here:
- https://github.com/Gozala/selfish [Irakli, updated]
- http://dl.2ality.com/dl/2011/06/Proto.js [me]

-- 
Dr. Axel Rauschmayer

axel at rauschma.de
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com





More information about the es-discuss mailing list