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