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