You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When slicing, you may omit the high or low bounds to use their defaults instead.
The default is zero for the low bound and the length of the slice for the high bound.
Should "length of the slice for the high bound" be length of the array? At least in the example, the variable a is initialized as an array, not a slice.
The text was updated successfully, but these errors were encountered:
Context: https://go.dev/tour/moretypes/10
Should "length of the slice for the high bound" be length of the array? At least in the example, the variable a is initialized as an array, not a slice.
The text was updated successfully, but these errors were encountered: