这种方法们称之为数组字面量(array literal):
基于66个网页-相关网页
The data in the array literal must be convertible to the data type of the typed array.
数组标识符中的数据必须可转换为类型化数组的数据类型。
youdao
If no upper bound is specified, the size of the array is inferred based on the number of values in the array literal.
如果没有指定索引上限,则会依据阵列常值中值的数目推断阵列大小。
应用推荐
模块上移
模块下移
不移动