tc39 / proposal-extended-numeric-literals

Extensible numeric literals for JavaScript
https://tc39.github.io/proposal-extended-numeric-literals/
72 stars 18 forks source link

Replace two old `~` #22

Closed hax closed 5 years ago

hax commented 5 years ago

@littledan First I need more time to understand the new decorator proposal. But with my first glance, the syntax 3@px looks strange, and I guess some programmers will try let value = 3; let length = (value)@px; :-)

littledan commented 5 years ago

Well, yeah, that would be a syntax error. Feel free to raise questions on the decorator repo for clarifications.