A non-null sandbox object.
Optional
options: ContextOptionsThe context options.
Readonly
nameThe context name.
The globalThis
object for this context. Deeply equals to sandbox
in constructor
.
Execute a script and return it's last statement's result.
The last statement's result of the script.
The script string or script object to be executed.
Optional
options: ExecuteOptionsThe script options.
Generated using TypeDoc
The Context class to execute a script.