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