Sandbox for javascript code from user.
const sandbox = new $mol_func_sandbox( Math ) // allow only mathematics
const func = sandbox.eval( 'return pow(2,2)' ) // create function
const result = func() // 4
constructor( ... contexts : Object[] )
contexts
contains global variables for sandboxed code.
eval( code : string ) : ()=> any
Creates new function by source code.