> > 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 [email protected] https://mail.mozilla.org/listinfo/es-discuss

