Home > Work > You Don't Know JS: this & Object Prototypes
1 " Any sufficiently advanced technology is indistinguishable from magic. — Arthur C. Clarke "
― Kyle Simpson , You Don't Know JS: this & Object Prototypes
2 " JS, constructors are just functions that happen to be called with the new operator in front of them. They are not attached to classes, nor are they instantiating a class. They are not even special types of functions. They’re just regular functions that are, in essence, hijacked by the use of new in their invocation. "
3 " like to say that sticking “prototypal” in front of “inheritance” to drastically reverse its actual meaning is like holding an orange in one hand, an apple in the other, and insisting on calling the apple a “red orange.” No matter what confusing label I put in front of it, that doesn’t change the fact that one fruit is an apple and the other is an orange. "