Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
JSTests
/
stress
/
symbol-and-string-constructor.js
blob: 4a88e863ab5113f39ac263e969365fb3e907d480 [
file
] [
log
] [
blame
]
function
performString
(
value
)
{
return
String
(
value
);
}
noInline
(
performString
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
performString
(
Symbol
.
iterator
);
if
(
result
!==
'Symbol(Symbol.iterator)'
)
throw
new
Error
(
'bad value: '
+
result
);
}