blob: 6dc7b68f68b9887f35c30d2e33803361693be9aa [file] [log] [blame]
(function() {
class Foo { }
var foo = new Foo();
for (var i = 0; i < 5000000; ++i) {
if (!(foo instanceof Foo))
throw "Error: bad result";
}
})();