Closed jemc closed 1 year ago
Array.delete_at! will discard the element at the given index, while Array.remove_at! will return the (non-aliased) element.
Array.delete_at!
Array.remove_at!
Array.delete_at!
will discard the element at the given index, whileArray.remove_at!
will return the (non-aliased) element.