Skip to content

Commit 1614a86

Browse files
committed
Question 122
1 parent 635dd3a commit 1614a86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nl-NL/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3936,9 +3936,9 @@ console.log(!typeof name === "string");
39363936

39373937
#### Antwoord: C
39383938

3939-
`typeof name` returns `"string"`. The string `"string"` is a truthy value, so `!typeof name` returns the boolean value `false`. `false === "object"` en `false === "string"` both return`false`.
3939+
`typeof name` retourneert `"string"`. De string `"string"` is een _truthy_ waarde, dus `!typeof name` retourneert de boolean waarde `false`. `false === "object"` en `false === "string"` retourneren beiden `false`.
39403940

3941-
(If we wanted to check whether the type was (un)equal to a certain type, we should've written `!==` instead of `!typeof`)
3941+
(Als we wilden checken of het type (on)gelijk is aan een bepaald type, zouden we `!==` moeten gebruiken in plaats van `!typeof`)
39423942

39433943
</p>
39443944
</details>

0 commit comments

Comments
 (0)