re: How Classes work in JavaScript VIEW POST


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.

code of conduct - report abuse