Skip to content

Instantly share code, notes, and snippets.

@michaelficarra
Created January 22, 2016 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelficarra/4f8c25a6aaa87420803a to your computer and use it in GitHub Desktop.
Save michaelficarra/4f8c25a6aaa87420803a to your computer and use it in GitHub Desktop.
$ eshost host --list
┌──────────────┬─────────┬──────────────────────────────────────────────────┬──────┐
│ name │ type │ path │ args │
├──────────────┼─────────┼──────────────────────────────────────────────────┼──────┤
│ nashorn │ nashorn │ /usr/java/jdk1.8.0_66/bin/jjs │ │
├──────────────┼─────────┼──────────────────────────────────────────────────┼──────┤
│ v8 │ d8 │ /usr/bin/d8 │ │
├──────────────┼─────────┼──────────────────────────────────────────────────┼──────┤
│ jsc │ jsc │ /usr/bin/jsc │ │
├──────────────┼─────────┼──────────────────────────────────────────────────┼──────┤
│ node │ node │ /home/michael/.nvm/versions/node/v5.4.1/bin/node │ │
├──────────────┼─────────┼──────────────────────────────────────────────────┼──────┤
│ spidermonkey │ jsshell │ /usr/bin/js │ -e │
└──────────────┴─────────┴──────────────────────────────────────────────────┴──────┘
$ eshost -e "print(0)"
#### spidermonkey
#### jsc
0
#### v8
/tmp/116021-10945-td14fy.js:1: ReferenceError: Realm is not defined
this.global[name] = value; }, source: \"\"};Realm.shared = $;"};Realm.shar
^
ReferenceError: Realm is not defined
at /tmp/116021-10945-td14fy.js:1:1862
ReferenceError: Realm is not defined
#### node
0
#### nashorn
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment