> let d = (y / 17n) >> (17n * x + y % 17n);
> return d % 2n == 1n;
TIL(JavaScript): A BigInt is created by appending n to the end of an integer literal — 17n — or by calling the function BigInt().
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...