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