REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
Are we able to use ES6 syntax?
-
Hey there guys I've noticed that some tutorials on the backend use "var" and I am guessing that's because you are using ES5 syntax? I have only used ES6 syntax and was wondering if I am able to use it when building api's in the backend?
-
Hey Linda,
in the frontend, yes of course, but if you do your code won't work on Internet Explorer (it's now fully deprecated in favor of Edge (based on Chrome) so less people care now)
in the backend you can do as well in nodejs -
@Joseph-Benguira ah didnt know that about es6 and Explorer (hope they put Explorer to rest soon )