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