字面语法(Literal syntax): var obj = {}; 7 对象 • 字面语法创建复杂对象 这个例子描述的是一个人,他的名称是张三、性别男,有两个朋友,分别是李四(...
基于24个网页-相关网页
If a rule has additional options, you can specify them using array literal syntax, such as.
如果一个规则有额外的选项,你可以使用数组字面量指定它们,比如。
The composite literal syntax permits the omission of redundant type information (when specifying two-dimensional arrays, for example). release.2010-10-27.
复合文字语法允许多余的类型信息(如在指定二维数组时)。
The syntax for a compound literal allows a brace-enclosed series of values to be used to initialize an automatic object of the appropriate type.
复合文字的语法允许用大括号括起来的一系列值来初始化适当类型的自动对象。
应用推荐