Sign in
webkit
/
WebKit
/
d9f4aeb0c9628407e7f02d9ddeb9bc793e57d330
/
.
/
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
;