I was stumbling around trying different conditions, when I discovered ==-, or ==+.
In a JS console, you can write:
var a = " ";
then the following is true
a == " ";
but this is false
a == " ";
However, it will be true if you say:
a ==- " ";
or
a ==+ " ";
So what is this nifty ==- operator?