stiff

Results 24 comments of stiff

Latest chrome doesn't agree with you: ```javascript { ['a', 'b']: 5 } VM417:1 Uncaught SyntaxError: Unexpected token ':' const obj = { ['a', 'b']: 5 } VM438:1 Uncaught SyntaxError: Unexpected...

Do you have an idea how nobody ever managed to run into this issue with arrays, which look and work exactly same as I propose? :) ```javascript [1,2] > [1,...

Maybe even better would be "use ES2020" which will assume if-as-expression, deprecate and fix other long-waiting-to-be-fixed pains?

Any decimal can be represented as rational with power of 10 denominator. So having rationals that support preserving denominator after math operations would give decimals for free.