(obj)
| 17 | return -1; |
| 18 | } |
| 19 | function isWindow(obj) { |
| 20 | return obj != null && obj === obj.window; |
| 21 | } |
| 22 | function isArraylike(obj) { |
| 23 | var length = "length" in obj && obj.length, ltype = typeof obj; |
| 24 | if (ltype === "function" || isWindow(obj)) { |
no outgoing calls
no test coverage detected