Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
uint8array-check-in-bounds.js
blob: 4d64dfd3fbeee35dd8414bdeb66262851a1b3b37 [
file
] [
edit
]
function
test
(
array
)
{
let result
=
0
;
for
(
let i
=
0
;
i
<
array
.
length
;
++
i
)
result
+=
array
[
i
];
return
array
;
}
noInline
(
test
);
let array
=
new
Uint8Array
(
1024
);
for
(
let i
=
0
;
i
<
testLoopCount
;
++
i
)
test
(
array
);