Insert List at End
Insert the values of another list at the end of the working list.
Examples in
Go
package main
import (
"fmt"
)
func main() {
s := []int{1, 2, 3, 4, 5}
s2 := []int{6, 7, 8, 9, 10}
s = append(s, s2...)
fmt.Println(s)
}
Last Run
:
[1 2 3 4 5 6 7 8 9 10]