Fix formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 11:40:42 +02:00
parent c56b5a11da
commit 42c503135e
7 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ lastUpdated: 2020-10-18T13:49:49+03:00
Checks if the provided string is a valid JSON.
- Use `JSON.parse()` and a `try... catch` block to check if the provided string is a valid JSON.
- Use `JSON.parse()` and a `try...catch` block to check if the provided string is a valid JSON.
```js
const isValidJSON = str => {