'typeof' comparison with non-standard value

Last modified: 03 December 2024

Reports a comparison of a typeof expression with a literal string which is not one of the standard types: undefined, object, boolean, number, string, function, or symbol. Such comparisons always return false.