That might have been the case, but the expectation that an unquoted form should 
equally have a quoted form or vice-versa is not an issue in practice given the 
presence of a similar but opposite semantic in the private sigil access 
notation proposal: object.#validPrivateSigil -> object[‘#invalidPrivateSigil’].

In kind, this would exploit the same grammar affordances to be born from this. 

That is obj.font-size would rightly be invalid. The more common interfacing 
with this notation would be through iterators. That is: 

for (var key in object) {
    style.setProperty(key, object[key])
}

The addition of which would see to improve the ergonomics with using dash-case 
keys common in the CSS grammar within the object literals syntax.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to