The above snippet evaluates to true. I'm not sure if this is a bug.
The below snippet is the workaround to avoid the problem of an empty string provided evaluating to a number.
The above snippet evaluates to true. I'm not sure if this is a bug.
The below snippet is the workaround to avoid the problem of an empty string provided evaluating to a number.