23

Damn this is f***ing awesome explaination going on
https://quora.com/What-do-these-lin...

Comments
  • 3
    Wow real effort on a first class answer that could be a bully in other platform, really nice
  • 1
    It's funny he explained it in terms of classes when JS doesn't have classes.
  • 1
    @densedever js does have classes ...
  • 3
    @Danacus No, it has objects. Those are its data structures. Those objects breed "instances" through making new objects and set up inheritance hierarchies by delegation linkages between their prototypes.

    The horribly badly-named ES6 `class` keyword is syntactic sugar for prototypes.
  • 0
    @Letmecode hahaha yeah
Add Comment