I would like to propose that the dot or '.' is allowed in object field names so that the following are allowed. var obj = { field1: "val" , field2.field3: 3, field2.field4: true }; would become var obj = { field1: "val" , field2: { field3: 3, field4: true } }; and even var would become var obj = { name: "Hello" }; Sebastian |
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss