blob: ba24dbce37cbe47e5197c63520b4424f4c45204a [file] [log] [blame]
(function() {
var foo = 0;
var base = {
set foo0(v) { foo = v; },
set foo1(v) { foo = v; },
set foo2(v) { foo = v; },
set foo3(v) { foo = v; },
set foo4(v) { foo = v; },
};
for (var j = 0; j < 3e5; j++)
base[`foo${j % 5}`] = j;
if (foo !== j - 1)
throw new Error("Bad assertion!");
})();