Predict the output of the following javascript code

console.log(3 > 2 > 1);

 

 

 

 

While this is a perfectly valid mathematical comparison, which would usually yield true, programming languages evaluating expressions differently, and JavaScript itself is no different.