Sign in
webkit
/
WebKit
/
898462b151a4390b0e2c5949e168b50e866761ad
/
.
/
JSTests
/
stress
/
make-rope-should-not-propagate-constant-folded-value-in-ai.js
blob: 12b5d8ce180a6aab338e969da2fb674e52568a2b [
file
] [
log
] [
blame
]
//@ runDefault("--forceEagerCompilation=1")
let string
=
'a'
;
let array
=
[]
function
test
()
{
let x
=
[][
array
.
length
];
let y
=
x
?
x
+
''
:
''
;
let z
=
string
+
y
;
let za
=
z
+
'a'
;
[].
join
(
za
);
}
for
(
let i
=
0
;
i
<
1e4
;
i
++)
test
();