this post was submitted on 30 Jun 2023
7 points (100.0% liked)
JavaScript
2000 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I mean, it's syntactic sugar but for the most part it will perform in line with how the average Joe expects classes to work.
I use them sometimes. I avoid them other times.
If you're new to JavaScript, go ahead and use them and if you find s usecase where they don't work to your expectatiob you can start learning about why there aren't "true oop classes".