MoTTs

Member since
MoTTs

Recent Docs Activity

View all activity
Page Date Comment

Details of the object model


@chrisdavidmills Testing the waters. Is it OK to update the class syntax? It's been 4 years, and I've stopped recommending MDN to people because it's outdated.

Inheritance and the prototype chain


Removed link to medium blog

Classes


That's a weird and inaccurate way to describe extends. We wouldn't say Object.create's only purpose is to create single ancestor taxonomies, even though it does.

Inheritance and the prototype chain


This article is about the prototype chain. Alternative inheritance patterns that don't use the chain are already discussed on the MDN page "Inheritance in JavaScript". And although bloggers talk about Object.assign and "different kinds of prototypal inher

Inheritance and the prototype chain


Removed example. It isn't clear what it was supposed to be an example of, constructor functions were already presented earlier, and the example's own code comments were criticizing the example's unusual decisions.