You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
// For the sake of playing along with this proposal's syntax, alias "px" to "_px"let{px: _px}=CSS;document.body.style.fontSize=3_px;
According to this proposal's semantics, 3_px desugars to _px(Object.freeze({number: 3, string: "3"})), but _px (CSS.px) doesn't know what to do with Object.freeze({number: 3, string: "3"}), because it's expecting a number, ie. 3. As a result of this misrepresentation, the given example doesn't represent an actual use case burden to be eased by this proposal.