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