Sign in
webkit
/
WebKit
/
1af45fc1915c308be35b19553899267f3a4f02ea
/
.
/
JSTests
/
microbenchmarks
/
array-shift-unshift-empty.js
blob: c2d9e4ab2ef31e1bc22f2d26c4d3f5ddc66f8920 [
file
] [
log
] [
blame
]
noInline
(
Array
.
prototype
.
shift
);
noInline
(
Array
.
prototype
.
unshift
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
{
var
arr
=
[];
arr
.
shift
();
arr
.
unshift
();
}