Which built-in function appends an element to a slice?
Answer & explanation
Answer: append
`append(slice, value)` returns the updated slice and may allocate a larger backing array.
Practice slices with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
Answer: append
`append(slice, value)` returns the updated slice and may allocate a larger backing array.