JSLint gives strange message "strange attitude"
I have a form code:
function test(a,b,x) {
return (a > x) !== (b > x);
}
To me it looks like a logical piece of code, but JSLint complains about the "Weird relationship" message.
So firstly, does anyone know why JSLint is complaining? And secondly, is there a way to somehow disable the "Weird relationship" error?
+3
source to share