Is there a plan to support shift operations upon BigInt?

As we all know, 1 << 31 will return -2147483648 because the signed bit has been set. So should we support shift operations upon BigInt like this:

1n << 31; // => 2147483648n

BigInt already supports left-shift, but both operands have to be BigInts. So try
1n << 31n;

2 Likes

Thanks