(create, properties, handler)
| 39 | } |
| 40 | |
| 41 | function TestForIn2(create, properties, handler) { |
| 42 | var p = create(handler) |
| 43 | var found = [] |
| 44 | for (var x in p) found.push(x) |
| 45 | assertArrayEquals(properties, found) |
| 46 | } |
| 47 | |
| 48 | TestForIn(["0", "a"], { |
| 49 | ownKeys() { return ["0", "a"] }, |
nothing calls this directly
no test coverage detected