harn-hostlib 0.8.21

Opt-in code-intelligence and deterministic-tool host builtins for the Harn VM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Counter {
    constructor() {
        this.value = 0;
    }
    increment() {
        this.value += 1;
    }
}

function addOne(n) {
    return n + 1;
}

const square = (n) => n * n;

const VERSION = "1.0";