]>
Commit | Line | Data |
---|---|---|
ed1e77d3 A |
1 | (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 | })(); |