| 1 |
import "array.prototype.with/auto"; |
| 2 |
import "array.prototype.tosorted/auto"; |
| 3 |
import "array.prototype.toreversed/auto"; |
| 4 |
import "array.prototype.tospliced/auto"; |
| 5 |
arr.with(0, 3); |
| 6 |
arr.toSorted(); |
| 7 |
arr.toReversed(); |
| 8 |
arr.toSpliced(1, 1, 3, 4); |