coffee> [1,3] > [1,2]
coffee> [1,10] > [1,2]
false # '10' < '2'
With the following addition to Array prototype:
Array::greaterThan = (otherArray) ->
for element, index in @ when element isnt otherArray[index]
return element > otherArray[index]
false # @ == otherArray
Now it behaves like what I had expected.
coffee> [1,10].greaterThan [1,2]