classes and enumerability

Glen Huang curvedmark at gmail.com
Tue Dec 23 22:11:34 PST 2014


Oh, forget about those. Thanks. Then problem solved.

non-enum class syntax + trait syntax. This could make prototypal inheritance a joy to write. :)

> On Dec 24, 2014, at 2:02 PM, Kevin Smith <zenparsing at gmail.com> wrote:
> 
> Given that you don’t know the names of the prototype properties and methods contained (could be deep in the prototype chain) in a object. How do you add these to another object?
> 
> getOwnPropertyNames, getOwnPropertySymbols, and getPrototypeOf to traverse the prototype chain.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141224/04683c42/attachment-0001.html>


More information about the es-discuss mailing list