jscd 0.2.2

Reverse bytenode-compiled .jsc (V8 code cache) back to JavaScript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Greeter {
  constructor(name) {
    this.name = name;
  }
  hello() {
    return "hi " + this.name;
  }
  static twice(n) {
    return n * 2;
  }
}
function run() {
  const g = new Greeter("ada");
  return g.hello() + "/" + Greeter.twice(21);
}
console.log("class", run());