Index: src/array.js |
=================================================================== |
--- src/array.js (revision 224) |
+++ src/array.js (working copy) |
@@ -31,16 +31,7 @@ |
// ------------------------------------------------------------------- |
-// Determines if the array contains the element. |
-function Contains(array, element) { |
- var length = array.length; |
- for (var i = 0; i < length; i++) { |
- if (array[i] === element) return true; |
- } |
- return false; |
-}; |
- |
// Global list of arrays visited during toString, toLocaleString and |
// join invocations. |
var visited_arrays = new $Array(); |