I was surprised to find the comparison of two arrays to return a boolean in JavaScript.
var blah = [1,2,3];
var blah2 = [2,3,4,5];
document.write(blah < blah2);
I was honestly expecting NaN, but in every browser I tested I got a consistent "true" result. I couldn't find any documentation on what comparison operators do with arrays in JS. What is being compared in this case?