nashorn/test/script/basic/errors.js.EXPECTED
author sundar
Wed, 06 May 2015 20:04:42 +0530
changeset 30394 72a59e4dffea
parent 16147 e63b63819133
child 32048 8023426b93ab
permissions -rw-r--r--
8079470: Misleading error message when explicit signature constructor is called with wrong arguments Reviewed-by: jlaskey, hannesw

Error is a function
EvalError is a function
RangeError is a function
ReferenceError is a function
SyntaxError is a function
TypeError is a function
URIError is a function
Error.arity 1
EvalError.arity 1
RangeError.arity 1
ReferenceError.arity 1
SyntaxError.arity 1
TypeError.arity 1
URIError.arity 1
true
my error
Error
thrown @ 49
true
ReferenceError
"foo" is not defined
true
TypeError
Cannot call undefined
Error
EvalError
RangeError
ReferenceError
SyntaxError
TypeError
URIError