(collection, elt)
| 3218 | } |
| 3219 | |
| 3220 | function indexOf(collection, elt) { |
| 3221 | if (collection.indexOf) return collection.indexOf(elt); |
| 3222 | for (var i = 0, e = collection.length; i < e; ++i) |
| 3223 | if (collection[i] == elt) return i; |
| 3224 | return -1; |
| 3225 | } |
| 3226 | function isWordChar(ch) { |
| 3227 | return /\w/.test(ch) || ch.toUpperCase() != ch.toLowerCase(); |
| 3228 | } |
no outgoing calls
no test coverage detected