Viktor

Results 161 comments of Viktor

@fire1 ES5, may be ES3

You can import the file itself, get the eventsource from the globalThis

Will it work? Right now the polyfill requires no tranforms.

The roadmap page provides the table, but caniuse has a nice view of the current browser versions and usage percentages, so It could be nice to see the data here.

@yukinotech `1.05` in the source code is converted to `1.0500000000000000444089209850062616169452667236328125` floating point value, then Number#toFixed is applied; Both algorithms are defined to work with exact mathematical value. Well, there is...

So toString exposes this, and comparision ignores. Does it affect toExponential/toPrecision/toFixed? There are `coefficient` and `exponent` getters, which will expose non-normalized decimals, unless they are speced to return as it...

What should it return for negative numbers?

@srghma but you forgot to invert infinite number of leading zeros

@srghma it should look like BigInt.asUintN perhaps

Probably, could be implemented as: ```javascript bigInt.asUintN = function (bits, bigint) { bigint = bigInt(bigint); if (typeof bigint.value === "bigint") { return bigInt(BigInt.asUintN(bits, bigint.value)); } const p2bits = bigInt(1).shiftLeft(bits); const...