QuickBEAM.VM.Runtime.Globals.Functions (QuickBEAM v0.10.9)

Copy Markdown View Source

Implementations for global JavaScript functions such as eval, require, and queueMicrotask.

Summary

Functions

Implements global eval for source strings by compiling and evaluating them in the current runtime.

Implements the CommonJS-like require global backed by registered VM modules.

Implements queueMicrotask by enqueuing a callback in the VM microtask queue.

Functions

js_eval(arg1, _)

Implements global eval for source strings by compiling and evaluating them in the current runtime.

js_require(list, _)

Implements the CommonJS-like require global backed by registered VM modules.

queue_microtask(list, _)

Implements queueMicrotask by enqueuing a callback in the VM microtask queue.