RangeError object (Object/core)

A native error object based on the Error object.


ECMAScript edition - 3
JavaScript - 1.5
Netscape - 6.0
Inherits from:&Error object
JavaScript syntax:NmyError = new RangeError()
NmyError = new RangeError(aNumber)
NmyError = new RangeError(aNumber, aText)
Argument list:aNumberAn error number
aTextA text describing the error

This sub-class of the Error object is used when an exception is caused by a numeric value exceeding its allowable range.

See also:catch( ... ), Error object, EvalError object, ReferenceError object, SyntaxError object, throw, try ... catch ... finally, TypeError object, URIError object

Inheritance chain:

Error object


ECMA 262 edition 3 - section -

ECMA 262 edition 3 - section -