In a browser console, entering 1===1 evaluates to true. Entering 1===1===1 evaluates to false.
1===1
true
1===1===1
false
I assume that this
Correct behaviour. Since
1===1 // value is true
but
true===1 // it's false
There are two reasons for this:
so
1===1===1 // false