Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
microbenchmarks
/
array-from-set-int-small.js
blob: e121acad82371710065ba0835c22ddac4f041703 [
file
] [
log
] [
blame
] [
edit
]
const
set
=
new
Set
([
1
,
2
,
3
,
4
,
5
,
6
,
7
]);
function
test
(
set
)
{
const
arr
=
Array
.
from
(
set
);
return
arr
;
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
1e5
;
i
++)
{
test
(
set
);
}