blob: 55775ba4418204372491bbd274c782763e4db512 [file] [log] [blame]
fpizlo@apple.com3378c482014-07-27 23:14:40 +00001(function() {
2 for (var i = 0; i < 10000; ++i) {
3 var o = {};
4
5 if (hasCustomProperties(o))
6 throw "Error: object shouldn't have custom properties yet.";
7
8 o.f = 42;
9
10 if (!hasCustomProperties(o))
11 throw "Error: object should have custom properties already.";
12 }
13})();