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