blob: 1994026bcf899a9b81b63147a8d9222c1694abf8 [file] [log] [blame]
function assert(b) {
if (!b)
throw new Error;
}
function test(obj) {
return "1" in obj;
}
noInline(test);
let o = [10, {}];
for (let i = 0; i < 10000; ++i) {
assert(test(o) === true);
}