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