Sign in
webkit
/
WebKit
/
b387ed984cfa86e07321d6d915fc6d801afbcecc
/
.
/
JSTests
/
microbenchmarks
/
to-string-on-cow-array.js
blob: 97e4b8955e34feef6288ddcfdc1cf78cc0fb2698 [
file
] [
log
] [
blame
]
let arrays
=
[
[
0
,
0
],
[
0
,
1
],
[
1
,
0
],
[
1
,
1
],
];
function
foo
(
arr
)
{
return
arr
.
toString
();
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
30000
;
++
i
)
{
for
(
let arr of arrays
)
foo
(
arr
);
}