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

  include: (array, object) ->
    object = wesabe.untaint(object)

    for i, item in array
      return true if wesabe.untaint(array[i]) == object

    return false

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

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

    return true
