Awesome Learning Exercises - the source code for the Awesome Learning platform.
BSD 2-Clause "Simplified" License
15
stars
19
forks
source link
fix error in solution for data-types exercise 1d. calling typeof on a… #57
Closed
jonegriffin closed 4 years ago
The solution for exercise 1d in the Types & Equality course is incorrect. Calling typeof on a null value does not return "null", it returns "object", as described here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof#null