JSSandbox class
JSSandbox class
Section titled “JSSandbox class”Isolated sandboxed evaluation scope running calculations via core V8 VM contexts.
Signature:
export declare class JSSandboxRemarks
Section titled “Remarks”Restricts top-level leakage, injects explicit console/asynchronous tools safely, and handles top-level await syntax rewrites gracefully with short timeout thresholds.
Constructors
Section titled “Constructors”|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Instantiates an isolated execution context box layer. |
Properties
Section titled “Properties”|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
any |
Resolves an proxy interface managing root context lookups and state bindings. |
Methods
Section titled “Methods”|
Method |
Modifiers |
Description |
|---|---|---|
|
Process, intercepts, converts and safely runs raw string scripts against internal V8 VM layers. |