|
|
|
|
|
by jholman
906 days ago
|
|
And null. I know that typeof(null) says 'object', but it's lying. When I say "it's lying", I mean that according to the spec, null is of type null. Also it has absolutely nothing in common with objects except for the output of typeof. Also these days there's BigInt. |
|
As in, it’s amazing that anything actually works given the internal inconsistencies in its core.
(Disclaimer: I code ts/js for a living.)