   compact: (array) ->
     retval = []
 
-    for i, item in array
+    for item, i in array
       retval.push(item) if wesabe.untaint(item)
 
     return retval

  equal: (a, b) ->
    return false if a.length != b.length

    for i in a
      return false if a[i] != b[i]

    return true

    for i in [0...Math.max(array1.length, array2.length)]
      result.push([array1[i], array2[i]])

    return result
