blob: 4bc1ce176532f2708a94bc4af78e6682f28e8787 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
noInline(shouldBe);
function test()
{
this.x = 'a'.match(/a/)['groups'];
shouldBe(this.x, undefined);
}
noInline(test);
for (let i=0; i<100000; i++)
test();