Sign in
webkit
/
WebKit
/
5e7f476e8f6cf0297feabaa0b679031b9f06e45a
/
.
/
JSTests
/
microbenchmarks
/
untyped-string-from-char-code.js
blob: 5fa593cf8349651e56639926a936b4092185d8ab [
file
] [
log
] [
blame
]
var
result
=
(
function
(
a
)
{
a
[
0
]
=
32
;
var
result
;
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
result
=
String
.
fromCharCode
(
a
[
0
]);
return
result
})(
new
Float64Array
(
1
));
if
(
result
!=
" "
)
throw
"Error: bad result: "
+
result
;