Skip to content

Commit

Permalink
docs: putout-script: Statement
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser authored Jul 25, 2023
1 parent ebe3a4e commit d8892e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/putout-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pattern matching searches code for a given pattern. For example, the expression

`loud(say('hello 🐊'))`

In the same way, the statement pattern `return __` can match a top `statement` in a `function` or any nested `statement`:
In the same way, the **Statement Pattern** `return __` can match a [**Statement**](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#expression-and-statement) in a `function` or on any level of nesting:

```js
const when = () => {
Expand Down

0 comments on commit d8892e9

Please sign in to comment.