[JSC] AI should not propagate AbstractValue relying on constant folding phase
[WebKit-https.git] / JSTests / microbenchmarks / object-get-own-property-symbols.js
1 var object = {};
2 for (var i = 0; i < 1e3; ++i) {
3     object[Symbol(i + 'prop')] = i;
4 }
5
6 function test(object)
7 {
8     return Object.getOwnPropertySymbols(object);
9 }
10 noInline(test);
11
12 for (var i = 0; i < 1e3; ++i)
13     test(object);