I have a var a;
Its value can be NaN, null and any +ve/-ve number including 0.
NaN, null and any +ve/-ve number including 0.
I require a condition which filters out all the values of a such that
NaN is not >= 0, so the only exclusion you need to make is for null:
NaN
>= 0
null
if (a !== null && a >= 0) { ... }