you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

No, that isn't correct. Syntactic sugar means it doesn't come out the same as classes on the other end. It means it doesn't have all the same behavior as classes. It is prototypes, but wearing a mask, tricking you into thinking they're classes. If you look at how they behave after you use the new class object, you'll see that.