4 ms·
I think that the 'beget' style does just that. Instead of requiring a special constructor, it provides a clear way to duplicate an object - just what prototypi
by code_duck 17y ago
I think that the 'beget' style does just that. Instead of requiring a special constructor, it provides a clear way to duplicate an object - just what prototypical inheritance is meant to be.