d8

Developer shell for the V8 JavaScript engine.

TLDR

Start a REPL (interactive shell)

$ d8
copy


Run a JavaScript file
$ d8 [path/to/file.js]
copy


Evaluate a JavaScript expression
$ d8 -e "[code]
copy

Copied to clipboard