| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/EvalError/EvalError | [Back] [Original] |
Get to know MDN better
new EvalError()
new EvalError(message)
new EvalError(message, options)
new EvalError(message, fileName)
new EvalError(message, fileName, lineNumber)
EvalError()
EvalError(message)
EvalError(message, options)
EvalError(message, fileName)
EvalError(message, fileName, lineNumber)
:
EvalError() new EvalError
EvalError ECMAScript
try {
throw new EvalError("Hello");
} catch (e) {
console.log(e instanceof EvalError); // true
console.log(e.message); // "Hello"
console.log(e.name); // "EvalError"
console.log(e.stack); //
}
| ECMAScript 2027 LanguageSpecification # sec-nativeerror-constructors |
| Web Proxy Viewer | New URL | Original Page |