Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
reginsmol745yCant decipher them in what way? Not sure what youre talking about. Node supports ES6 classes
-
Dearbie,
I use typescript.
Sincerely,
SortOf Mostly Tested, Duchess of Dork, fifteenth of her name, P.hd-a-thesis
(Transpile it) -
Root825285y@reginsmol Because "class" means something different in ES6 than in literally every other language out there.
-
@reginsmol because its not class, its just syntactic sugar to help people from other languages (read java fanbois) to get something done, how ever there will be a day when you will have this problem where you expect it to work but instead you get mad debugging experience and still have to learn how prototype chains really work
Dear JavaScript users,
Do you use ES6 or ES5 syntax for creating a class and adding helper functions? Node can't decypher ES6 so unsure what to do.
question