eval(string [, object])
Syntax
eval(string [, object])eval - MDCParameters
string
A string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.
object
Non-standard Obsolete
An optional argument; if specified, the evaluation is restricted to the context of the specified object.