+ 1
classes in Javascript. Why code playgrownd doest allow them?
I wanted to run a code that uses a class but SoloLearn compiler doesnt seem to recognize it. It works fine on a browser but not in here :( btw, Js course doesnt mention classes, im not sure if it means something....
2 odpowiedzi
+ 3
My Code Playground able to run JavaScript classes without any issue.
https://code.sololearn.com/W8mO2dbGyH2h/?ref=app
Classes only for ES6. Make sure your phone browser could run ES6 code.
+ 3
thanks Calvin. Your code doest work for me, so i guess you're right, its because of my device :/