Type coercion in javascript
Oct 10, 2021 · 2 min read · Open a console window and type 1 < 2 < 3 and the output will be true. So far so good, lets try another example. Now type 3 > 2 > 1 we get false. whoops! Turns out 1 < 2 < 3 returning true was a complete accident and something else was going behi...
TGaurav commented