20 Dec 2014 ... A SyntaxError is thrown when the JavaScript engine encounters tokens or token order that does not conform to the syntax of the language when ...
developer.mozilla.org