Skip to content

Commit

Permalink
tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
callum-oakley committed Feb 5, 2025
1 parent f8dd357 commit 89d380c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ the power of "Immortality":

## Semantics

The provided `BODY` is evaluated by [Boa][] as part of the expression `$ => BODY`. In particular,
this means that `BODY` must have the syntax of an [Arrow Function][] body: it can either be a single
expression, or multiple statements enclosed in braces with an explicit return statement.
The provided `BODY` is evaluated by [Boa][] as part of the expression `(() => BODY)()`. In
particular, this means that `BODY` must have the syntax of an [Arrow Function][] body: it can either
be a single expression, or multiple statements enclosed in braces with an explicit `return`.

`$` contains the result of reading STDIN as text, or of parsing it as JSON if the `-j` flag is set,
YAML if the `-y` flag is set, or TOML if the `-t` flag is set. If STDIN [is a terminal][] then `$`
Expand Down

0 comments on commit 89d380c

Please sign in to comment.