d8: add page (#6568)

beep
pixel 2021-09-22 13:58:11 +02:00 committed by GitHub
parent 05ff190f23
commit e071b25bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/common/d8.md Normal file
View File

@ -0,0 +1,16 @@
# d8
> Developer shell for the V8 JavaScript engine.
> More information: <https://v8.dev/docs/d8>.
- Start a REPL (interactive shell):
`d8`
- Run a JavaScript file:
`d8 {{path/to/file.js}}`
- Evaluate a JavaScript expression:
`d8 -e "{{code}}`