[3, 1, 2].with(0, 3); [3, 1, 2].toSorted(); [3, 1, 2].toReversed(); [3, 1, 2].toSpliced(1, 1, 3, 4); arr.with(0, 3); arr.toSorted(); arr.toReversed(); arr.toSpliced(1, 1, 3, 4);