new SyntaxError(…)
Creates a new SyntaxError object.SyntaxError.SyntaxError([message])
message
Error message.s.message
name
The name property of SyntaxError instances is "SyntaxError".s.name
SyntaxError.prototype
The prototype of the SyntaxError constructor.SyntaxError.prototype
toString()
Returns a string representing the specified error object.s.toString()