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