JavaScript classes are nothing more than syntactic sugar. It’s still prototype-based inheritance under the hood.
Prototypal Inheritance is considered one of JavaScript’s strong points, and many, including myself don’t think the class syntactic sugar that was added has much value. If anything it just confuses new developers.
A lot of JavaScripts detractors simply don’t understand the language very well.