typeof operator which returns a string indicating the type of the operand.
typeof 5 === 'number'// true
Easy as pie, right? Unfortunately,
typeof is not as reliable as you might think.
What does the following equal?
If you …Read Article