Prototype Object on Classes

Yehuda Katz wycats at gmail.com
Mon Oct 29 00:02:42 PDT 2007


I couldn't quite determine this from the white-paper:

If I define a class using the new class constructs, and do *not* make it
dynamic, will I still be able to add new properties to the prototype object?
If so, doesn't that provide a simple way to end-run around the entire
lock-down that the new classical model provides?

-- 
Yehuda Katz
Web Developer | Procore Technologies
(ph)  718.877.1325
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071029/e395f242/attachment-0002.html 


More information about the Es4-discuss mailing list