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