The `typeof` check is better performance wise (versus the boolean coercion that occurs) and is safer because it doesn't fail if the identifier has not yet been declared. Also, if the variable we're checking has any type of false value (e.g. 0), then this block won't be executed.