On Tue, Jan 29, 2019 at 7:45 AM Sultan Tarimo <thysul...@gmail.com> wrote: > That is obj.font-size would rightly be invalid.
By which I think you mean, would still be `obj.font - size` with its current meaning. I don't think the confusion that causes is worth the benefit of not putting the name in quotes in the object initializer. Particularly not with the well-established convention of using camelCase in that situation when interoperating with objects that have (or act like they have) dash-named properties (like the CSSStyleDeclaration object on HTML elements). -- T.J. Crowder
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss