I don't understand why this happens, can you explain?
Is it that 1 === 1 === 1 is basically:
(1 === 1) === 1
true === 1
false
Meaning boolean is not a integer, or 1 casted to boolean is not "true"?
I don't understand why this happens, can you explain?
Is it that 1 === 1 === 1 is basically:
(1 === 1) === 1
true === 1
false
Meaning boolean is not a integer, or 1 casted to boolean is not "true"?