Why in JS typeof array and null is object?
First at all, let's recap ## Data types in JavaScript | Type | `typeof` return value | |-----------|---------------------| | Null | "object" | | Undefined | "undefined" | | Boolean | "boolean" | | Number | "number" | | BigInt | "BigInt" | | String | "string" | | Symbol | "symbol" | | Object | "object" | _The information in this table may vary depending on the author_ Based on this table, several questions already arise if you are a beginner in JavaScript, - Why `typeof null`...
JavaScript