Skip to content

Commit

Permalink
fix typo #Serializing (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjeremic authored Oct 22, 2024
1 parent a4bf499 commit a4d235b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ document.querySelectorAll('form, input[name], button');

```js
// any node can be serialized
const array = document.toJSON();
const array = toJSON(document);

// somewhere else ...
import {parseJSON} from 'linkedom';
Expand Down

0 comments on commit a4d235b

Please sign in to comment.