Abstract
Return a new iterable with the element at index i replaced with value.
i
value
RangeError if i is out of range.
https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with
Concatenate the given iterables to the end of this iterable.
Zip the given iterables with this iterable.
Return a new iterable with the element at index
ireplaced withvalue.