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