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