Skip to content

Commit

Permalink
Add docs for underscore value
Browse files Browse the repository at this point in the history
  • Loading branch information
danhper committed Jul 26, 2024
1 parent b1ad7fb commit bc5830c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

# Reference

- [Builtin values](./builtin_functions.md)
- [Builtin values](./builtin_values.md)
- [Builtin methods](./builtin_methods.md)
14 changes: 13 additions & 1 deletion docs/src/builtin_functions.md → docs/src/builtin_values.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Builtin values

## Global functions
## Globals

### `_`

The underscore `_` variable stores the result of the last expression evaluated.

```javascript
>> 1 + 1
2
>> _
2
```


### `keccak256(bytes data) -> bytes32`

Expand Down

0 comments on commit bc5830c

Please sign in to comment.