Javascript objects and classes aren’t hard. This whole “prototype” thing is blamed for too much: prototype-based programming isn’t hard. this
is really weird, but prototypes aren’t.
What’s prototype-based programming? It just means every object has a “prototype” and when you look up a property on the …