Type coercion in javascript
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...
chandru.hashnode.dev2 min read
Gaurav Tewari
frontend engineer @razorpay
wow! awesome insights didn't know this...