javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
8
// feature probe for 'globalThis'
try {
  if (typeof globalThis !== 'undefined') {
    console.log('OK');
  }
} catch (e) {
  // unsupported
}