javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
const a = null ?? 1;
const b = 0 ?? 2;
const c = undefined ?? 3;

if (a === 1 && b === 0 && c === 3) {
  console.log('OK');
} else {
  console.log('NO');
}