javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
// module

import("./import-text-target.txt", { with: { type: "text" } }).then(function(mod) {
  if (mod && mod.default === "hello from text\n") {
    console.log("OK");
  }
}).catch(function() {});