mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
d8: add page (#6568)
This commit is contained in:
parent
05ff190f23
commit
e071b25bc1
1 changed files with 16 additions and 0 deletions
16
pages/common/d8.md
Normal file
16
pages/common/d8.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue