Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
JSTests
/
microbenchmarks
/
concat-append-one.js
blob: b0159cc021c885e07991a0d881059d57af8228dc [
file
] [
log
] [
blame
]
function
test
()
{
let obj
=
{};
[
1
,
2
,
3
].
concat
(
4
);
[
1
,
2
,
3
].
concat
(
1.34
);
[
1.35
,
2
,
3
].
concat
(
1.34
);
[
1.35
,
2
,
3
].
concat
(
obj
);
[
1
,
2
,
3
].
concat
(
obj
);
[].
concat
(
obj
);
[].
concat
(
1
);
[].
concat
(
1.224
);
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
10000
;
i
++)
test
();