Dash-case keys

Sultan thysultan at gmail.com
Mon Jan 28 21:47:56 UTC 2019

Is there any reason that dash-case keys are not supported in the object
literal syntax.

For example:

const style = {
    font-size: 10

Compared to what one needs to do today:

const style = {
    'font-size': 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190129/636f058e/attachment.html>

More information about the es-discuss mailing list