is that a key called "font-size" or the subtraction of `size` from `font`?

On Mon, Jan 28, 2019 at 1:48 PM Sultan <[email protected]> wrote:

> 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
> }
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to