Skip to content

Commit a4d235b

Browse files
authored
fix typo #Serializing (#288)
1 parent a4bf499 commit a4d235b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ document.querySelectorAll('form, input[name], button');
7171

7272
```js
7373
// any node can be serialized
74-
const array = document.toJSON();
74+
const array = toJSON(document);
7575

7676
// somewhere else ...
7777
import {parseJSON} from 'linkedom';

0 commit comments

Comments
 (0)