smalos / nubuilder_dev

Infinite loop conditions JS-0092
Bug risk
Major
1 occurrence in this check
'flags' is not modified in this loop.
10637
10638      // parse flags
10639      let leftJustify = false; let positivePrefix = ''; let zeroPad = false; let prefixBaseX = false; let htmlSpace = false; let thousandSeparation = false
10640      for (let j = 0; flags && j < flags.length; j++) {10641        switch (flags.charAt(j)) {
10642          case ' ': positivePrefix = ' '; break
10643          case '+': positivePrefix = '+'; break