EvalError

2 位贡献者:

这篇翻译不完整。请帮忙从英语翻译这篇文章

Represents an error regarding the eval function.

语法

new EvalError([message[, fileName[, lineNumber]]])

参数

message
Human-readable description of the error
fileName
The name of the file containing the code that caused the exception
lineNumber
The line number of the code that caused the exception

描述

An EvalError is thrown when eval is used improperly.

属性

prototype
Allows the addition of properties to an EvalError object.

方法

The global EvalError contains no methods of its own, however, it does inherit some methods through the prototype chain.

参见

文档标签和贡献者

向此页面作出贡献: teoli, Mickeyboy
最后编辑者: teoli,