|Seed Modules Reference Manual|
The sandbox module allows the creation of isolated JSCore contexts with individual global objects. It is useful as a literal "sandbox" or in a variety of other contexts.
sandbox = imports.sandbox;
Evaluates a string
source with context, returns the result.
||The code to evaluate|
Adds the default Seed globals to the context, including the 'Seed' global object, and the imports object.
Destroys the internal context object, and any further usage of the wrapper is an exception
A project, representing the literal global object of the context, may be freely read from and assigned to