I am practicing Javascript. I came across one scenario where I am comparing 3 numbers as below:
console.log(5<4<2);
It returns true. Now that I don't understand why. By operator precendence it must evaluate left to right which means false<2. Is something strange done by js in this case?