Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
JSON: Add an undocumented question, fix Q2 answer (Ebazhanov#2366)
Browse files Browse the repository at this point in the history
Q2's answer was wrong as the answer given was not the closest JSON equivalent. The answer documented was an array and we need an object for JSON.
  • Loading branch information
Nikostito authored Oct 7, 2021
1 parent a04640d commit 08175ee
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions json/json-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
["red", "blue", "green"]
```

- [x]
- [_]

```json
["red", "blue", "green"]
```

- [ ]
- [X]

```json
{
Expand Down Expand Up @@ -221,7 +221,7 @@
- [ ] NaN
- [x] null

#### Q16. Which JavaScript method converts a Json to JavaScript value?
#### Q16. Which JavaScript method converts JSON to a JavaScript value?

- [x] JSON.parse()
- [ ] JSON.stringify()
Expand Down Expand Up @@ -847,3 +847,10 @@ Note: None of the above options appear to be correct. A correct answer would be
- [ ] objects; functions
- [ ] arrays; functions
- [ ] key/value pairs; arrays

#### Q80. How does JSON represent truth, falsity and nullness?

- [x] true, false, null
- [ ] true, false
- [ ] TRUE, FALSE, NULL
- [ ] true, false, null

0 comments on commit 08175ee

Please sign in to comment.