()
| 2538 | |
| 2539 | |
| 2540 | def test_iterator_iterator(): |
| 2541 | items = [1, 2, 3, 4] |
| 2542 | result = [0] |
| 2543 | pm.eval("(result, arr) => {let iter = arr[Symbol.iterator](); let head = iter.next().value; result[0] = [...iter] }")( |
| 2544 | result, items) |
| 2545 | assert result[0] == [2, 3, 4] |
| 2546 | |
| 2547 | # Array.from |
| 2548 |
nothing calls this directly
no outgoing calls
no test coverage detected