Why do you test against void 0? is it better than undefined?