blob: 8e5ed634bfd621f04ec30396c014790f5f6dca3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var global;
function foo() {
var x = BigInt(-1.7e+308);
try {
global = BigInt.asUintN(100000000, x);
} catch {}
}
for (var i = 0; i < 100; i++) {
foo()
}
assertEq(global, undefined)
|