With an old style class, you define the constructor function, and the prototype object is created for you.
In ES6, the order of the two is reversed. The body of class contains contents of the prototype object, and you define a constructor.
Since the result is the same, and ES6 class syntax is just syntactical sugar, why was it important? 😎 *Increased readability
* Class-based inheritance
* Ability to assign methods in a much simpler form
couldn’t make it on anyone’s timeline so here is my day one of not just goofing.
i’m going to post my updates privately except for any key markers if i get there…