Sign in
webkit
/
WebKit
/
74a70b4650fbd719ba3c83ed49ad2fe62a266972
/
.
/
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
);
}