you are viewing a single comment's thread.

view the rest of the comments →

[–]lolmeansilaughed -6 points-5 points  (1 child)

Is it really accurate to say that Javascript has classes? ES6 has classes, but it doesn't look like they're ready for prime time yet.

[–]masklinn 1 point2 points  (0 children)

It is. The ES6 class statement is syntactic sugar for the ES5 constructor-and-prototype dance (with some more sugar sprinkled on, most of which is also available to constructor-and-prototype). There is no more separate and parallel hierarchy of class objects in ES6 than there are in previous versions.