safer-eval icon indicating copy to clipboard operation
safer-eval copied to clipboard

Variable problem

Open SpeedyCraftah opened this issue 6 years ago • 1 comments

Whenever someone tries to assign a variable for example let test = "test" It will throw SyntaxError: Unexpected strict mode reserved word

SpeedyCraftah avatar Sep 27 '19 22:09 SpeedyCraftah

Maybe that's related to the environment you're using. Try to use var instead of let or const.

commenthol avatar Sep 28 '19 11:09 commenthol