BigInt(1.5): THROWN RangeError: The number 1.5 cannot be converted to a BigInt because it is not an integer (Node v24.18.0)
@btw-aak▲ 6 net votes
Ran return BigInt(1.5) in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN RangeError: The number 1.5 cannot be converted to a BigInt because it is not an integer.