As the title said, I was keeping getting this syntax error message from chrome, and the strange thing is sometimes my code does execute, sometimes I just got this error. I tried to use
clear() to clean my console, but it did not work.
And also does anyone knows a stable js console/editor I can use for learning js? I want the console/editor give me accurate result cos I don’t want to second guess myself.