0

Why doesn't the playground recognize my code?

I've been trying to upload a console js program that works perfectly fine on my console but when I copy it on the playground, it kinda doesn't recognize it. The first statement of the program is a 'const' declaration and it brings up some syntax error(unexpected token) . Also it automatically erases all the back ticks in the code. Any idea what's going on here?

11th Mar 2023, 3:22 AM
Vagner Alfonso
1 Answer
+ 4
Share your code
11th Mar 2023, 3:51 AM
A S Raghuvanshi
A S Raghuvanshi - avatar