Inspectopedia
 
2024.3

'typeof' comparison with non-standard value

Warning
Reliability
New
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.