I'm learning Javascript and I ran across something that feels kind of "quirky".
Why isn't typeof a property like .length
or .name
? It seems like it should be in that category. Instead it's considered an operator sort of like an equals sign =
Maybe there is an obvious explanation or I'm not understanding something (easily possible).