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