Skip to content

Commit

Permalink
fix typo (#164)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Stephane <mike.stephane.kanyarushatsi@cbc.ca>
  • Loading branch information
mkanyar and Mike Stephane committed Jan 8, 2024
1 parent 7139f92 commit 5a1fa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -56,7 +56,7 @@ The above will produce the following string output:
'{"str":"string","num":0,"obj":{"foo":"foo"},"arr":[1,2,3],"bool":true,"nil":null,"undef":undefined,"inf":Infinity,"date":new Date("2016-04-28T22:02:17.000Z"),"map":new Map([["hello","world"]]),"set":new Set([123,456]),"fn":function echo(arg) { return arg; },"re":new RegExp("([^\\\\s]+)", "g"),"big":BigInt("10")}'
```

Note: to produced a beautified string, you can pass an optional second argument to `serialize()` to define the number of spaces to be used for the indentation.
Note: to produce a beautified string, you can pass an optional second argument to `serialize()` to define the number of spaces to be used for the indentation.

### Automatic Escaping of HTML Characters

Expand Down

0 comments on commit 5a1fa64

Please sign in to comment.