What goes in the blank?
// Go: grow the slice by one element xs = ____(xs, 4)
Answer: append
append returns the (possibly reallocated) slice, which is why the result is assigned back to xs.
Play Problem Solving ▸
// Go: grow the slice by one element xs = ____(xs, 4)
Answer: append