javascript 0.3.0

A JavaScript engine implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
// feature probe for 'String.fromCodePoint'
try {
  if (typeof String.fromCodePoint === 'function' && String.fromCodePoint(65) === 'A') {
    console.log('OK');
  } else {
    console.log('NO');
  }
} catch (e) {
  console.log('NO');
}