Sign in
webkit
/
WebKit
/
1f5bafe5ae87a22fbc029b76fb26b628be327746
/
.
/
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
);
}