var array1=[1,2,3];
var array2=[1,2,3];
alert((array1<array2)+(array1==array2)+(array1>array2));
As alert returns 0, array1 is not greater, not less and not equal to array2.
The question is:
How does array1 relates to array2?
Edit: my question is: How does array1 relates to array2?