Enhanced Object Literals 增强的对象字面量 ; 增强的物件字面量
I raise the same objection to the recommendations for using object literals, RegExp literals, and so forth.
我还对推荐使用Object字面值、RegExp字面值等等都提出相同的异议。
This does not apply to the comma separator, which is used in object literals, array literals, var statements, and parameter lists.
这不包括那些被用在对象定义,数组定义,var语句,和参数列表中的逗号分隔符。
Also, as with object literals, the elements in array literals can be arbitrary expressions and need not be restricted to constants.
而且,与数据直接量相同,数组直接量中的元素不必仅限于常量,它可以是任意的表达式。
应用推荐