Update isValidJSON.md
This commit is contained in:
@ -17,5 +17,6 @@ const isValidJSON = obj => {
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
isValidJSON('{"name":"Adam","age":20}'); // true
|
||||
isValidJSON('{"name":"Adam",age:"20"}'); // false
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user