3 ms·
The age is nigh, its already become the easiest way to run and install Safari's JavaScriptCore on every platform: $ wapm install -g jsc Can then use `jsc`
by mythz 7y ago
The age is nigh, its already become the easiest way to run and install Safari's JavaScriptCore on every platform:
$ wapm install -g jsc
Can then use `jsc` to execute .js, as a REPL or inline expressions:
$ jsc -e "console.log([1,2,3].map(x => x*2).reduce((x,acc)=>acc+x))"
- syspec 7y agoYou can also symlink the JavaScript core framework which contains the executable there without installing anything as an alternative