Course · Section 2: JavaScript Fundamentals – Part 1 · Lecture 11: Data Types
Implement `getType(value)` returning `array` for arrays, `null` for null, and otherwise the result of `typeof value`.
+ 2 hidden tests run on Submit.
typeof cannot distinguish null or arrays from plain objects, so you special-case those two before falling back to typeof.
Run your code to see results.