re: How Classes work in JavaScript VIEW POST

VIEW FULL DISCUSSION
 

Classes are the syntactic sugar

I'd say they mostly are, but they aren't just sugar. There are things you can't polyfill in ES5. Namely, you can't effectively extend native classes like Date or Error without class.

 
[deleted]
code of conduct - report abuse