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