Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyGofor-range semanticsSingle-choice MCQ

How many times does this loop run when ranging over a nil slice?

var s []int count := 0 for range s { count++ } fmt.Println(count)