You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We test if a variable v is defined by if (v). This may not work as intended if v is numeric, since 0 evaluates to false in JavaScript. Audit the code for these potential errors.
The text was updated successfully, but these errors were encountered:
We test if a variable
v
is defined byif (v)
. This may not work as intended ifv
is numeric, since0
evaluates tofalse
in JavaScript. Audit the code for these potential errors.The text was updated successfully, but these errors were encountered: