ToString constant folds without preserving checks, causing us to break assumptions...
[WebKit-https.git] / JSTests / stress / keep-checks-when-converting-to-lazy-js-constant-in-strength-reduction.js
1 //@ runDefault("--jitPolicyScale=0", "--useConcurrentJIT=false")
2
3 let bar;
4 for (let i = 0; i < 20; ++i) {
5   bar = i ** 0;
6   bar + '';
7 }