SyntaxError API

Error thrown when a syntax error occurs while parsing JavaScript code.

5 Total 2 Methods 3 Properties 2 Statics
  Show all

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()

SyntaxError.prototype

staticproperty

The prototype of the SyntaxError constructor. SyntaxError.prototype

You seem to be offline. App may not work.