Comparing to undefined and using strict comparison operator