null and undefined gets converted to each other if you just use != instead of !==