evaluate method
install the bundle and evaluate its entry module.
Module evaluation is asynchronous in QuickJS: the result wraps the
module's evaluation promise, so await
HandlePromises.handlePromise (or JsEvalResult.rawResult as a
Future) to observe a top-level await or an import failure.
Implementation
JsEvalResult evaluate(JavascriptRuntime runtime) {
install(runtime);
return runtime.evaluateBytecode(modules[entry]!);
}