▲ JavaScript design patterns #2. Factories and their implementation in TypeScript at wanago.io▼1 up and 0 down, posted by mwanago 1820 days ago 1 comment
tracker1 1820 days ago. link 1 point ▲ ▼It's worth mentioning that there's a search cost for properties in the prototype hierarchy, so doing more than 1-2 inheritance levels is generally a bad idea depending on your use case and performance needs.