如果是对数组赋值,下标 => 值例如 a = {1 => "1",2 => "22"}a[1] "1"a[2] "22" 转载于:https://www.cnblogs.com/fpcbk/p/10824222.html