package main import "fmt" func main () { //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 arr := []int{1, 2, 3} arr = append(arr, 4, true) }