Skip to content

Commit

Permalink
docs(tools/repl): add special variables section (denoland#8057)
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Oct 21, 2020
1 parent d6c824a commit 322913e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tools/repl.md
Expand Up @@ -43,3 +43,10 @@ up program state in the global context.
| Meta-T | Transpose words |
| Meta-U | Upper-case the next word |
| Meta-Y | See Ctrl-Y |

## Special variables

| Identifier | Description |
| ---------- | ------------------------------------ |
| _ | Yields the last evaluated expression |
| _error | Yields the last thrown error |

0 comments on commit 322913e

Please sign in to comment.