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 <zenpars...@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. >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss