i think if i can use something unquoted in an object literal, i'd expect to
be able to use it in dot access - ie, `obj.font-size` - and then that
problem arises.

On Mon, Jan 28, 2019 at 3:43 PM Sultan Tarimo <[email protected]> wrote:

> The former as the following is equally invalid syntax errors:
>
> const font = 1
> const size = 1
>
> const a = {
>         font-size: 10
> }
> const b = {
>         font+size: 10
> }
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to