Handling errors

You are using the following code snippet to loop through an array using for.

sum := 0
XXX, value := range array {
 sum += value
}

What can be used in place of XXX if you need the second item in the range and discard the first?

Options
1.for ?
2.for ;;

3.for _

4.for (;)

Related Posts