Skip to content

Commit 5b84156

Browse files
authored
fix: typo (#776)
1 parent f705ec4 commit 5b84156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/guide/api-usage/js-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ It has several jQuery like methods for us to search, filter and inspect the AST
8585
```js
8686
const log = root.find('console.log($A)') // search node
8787
const arg = log.getMatch('A') // get matched variable
88-
log.text() // "hello world"
88+
arg.text() // "hello world"
8989
```
9090

9191
Let's see its details in the following sections!

0 commit comments

Comments
 (0)