Sign in
webkit
/
WebKit
/
e83748a3d986d861713edbad6b20589c06c9b99f
/
.
/
JSTests
/
stress
/
torn-js-value-concurrent-collector.js
blob: faced2ca07bb8fe083d98b86bcd7631391bd638e [
file
] [
log
] [
blame
]
const
a
=
[];
function
bar
(
a0
)
{
let j
=
0
;
while
(
j
++
<
1000
)
{
a
.
splice
(
a0
,
1000
,
0
,
{},
{},
{},
{});
}
}
function
foo
()
{
for
(
let k
=
0
;
k
<
10
;
k
++)
{
bar
(
2
**
25
);
}
bar
();
}
for
(
let i
=
0
;
i
<
30
;
i
++)
{
foo
();
}