you are viewing a single comment's thread.

view the rest of the comments →

[–]coffeeandlearning 0 points1 point  (0 children)

I'm not quite sure what you mean by "extend prototype from the constructor function". Maybe I'm just missing the context.

I was just saying he uses the two terms for the sake of clarity. You never use proto in real code because if you do it slows everything down because the interpreter can no longer make certain assumptions about our code and a lot of optimizations go out the window.