()
| 2548 | |
| 2549 | |
| 2550 | def test_array_from(): |
| 2551 | items = [1, 2] |
| 2552 | result = [0] |
| 2553 | pm.eval("(result, arr) => { result[0] = Array.from(arr)}")(result, items) |
| 2554 | assert result[0] == [1, 2] |
| 2555 | assert result[0] is not items |
| 2556 | |
| 2557 | # bad index size expansion |
| 2558 |
nothing calls this directly
no outgoing calls
no test coverage detected