blob: 55775ba4418204372491bbd274c782763e4db512 [file] [log] [blame]
(function() {
for (var i = 0; i < 10000; ++i) {
var o = {};
if (hasCustomProperties(o))
throw "Error: object shouldn't have custom properties yet.";
o.f = 42;
if (!hasCustomProperties(o))
throw "Error: object should have custom properties already.";
}
})();