Sobes.tech
Junior — Senior

What result will the console show in example №50

livecode

Task condition

What will be printed after executing the following Go code:

a := []int{1,2}
b :=a[:]
b = append(b, 3, 4, 5)
b[0] = 2
a[0] - ?

Determine the value of the expression a[0] after all operations.