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