GolangCodingTime icon indicating copy to clipboard operation
GolangCodingTime copied to clipboard

发现数组这段描述容易有误解?

Open albert-liangd opened this issue 4 years ago • 0 comments

image [4] int{3:1} 原文中这个描述是不是有点问题:“可以看出[4]int{3:1},4表示 数组有4个元素,3 表示 前面三个元素是 0,后面1 表示 最后一个元素是1。” 最后一个元素是1 是不是描述成index 是3对应的值为1会更为准确

albert-liangd avatar Oct 20 '20 08:10 albert-liangd