javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
import("./import_meta_target.js").then(function(mod) {
  if (mod && mod.ok === true) {
    console.log("OK");
  } else {
    throw new Error("Unexpected module export");
  }
}).catch(function() {
  console.error("NO. reason:", arguments);
});