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