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