Closed mathiasrw closed 7 years ago
The code was comparing the result of typeof with a variable named undefined.
typeof
undefined
As typeof returns a string it should compare to 'undefined'.
'undefined'
LGTM
The code was comparing the result of
typeof
with a variable namedundefined
.As typeof returns a string it should compare to
'undefined'
.