Should probably be !==, otherwise undefined and null == 0.