SonarJS
SonarJS copied to clipboard
Fix S2189: consider unmodified conditions that are compared
let value = /*... */ ;
while (value < foo()) {
/* ... */
}
Reported in https://community.sonarsource.com/t/false-positive-for-indefinite-loop-with-multiple-conditions-javascript-s2189/44970/3