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