javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

async function run() {
  var a = 1;
  try {
    await Promise.resolve();
  } catch (e) {}
  // Expose result for test harness
  globalThis.__var_scope_result = typeof a;
}

globalThis.__var_scope_done = (async function () { await run(); return true; })();