]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/symbol-and-string-constructor.js
4a88e863ab5113f39ac263e969365fb3e907d480
1 function performString(value
) {
4 noInline(performString
);
6 for (var i
= 0; i
< 10000; ++i
) {
7 var result
= performString(Symbol
.iterator
);
8 if (result
!== 'Symbol(Symbol.iterator)')
9 throw new Error('bad value: ' + result
);