class virtual_machine : ?named:string -> unit ->
object
.. end
A JavaScript execution context. Holds the global object and
other execution state.
method evaluate_script : string -> string
Evaluate JavaScript code, gives back result of evaluation
method garbage_collect : unit
Force a garbage collection in the VM
method check_syntax : string -> bool
Check if the JavaScript given has a syntax error
method name : string
Name of the given context
method set_name : string -> unit
Set the name of the context