smalos / nubuilder_dev

Found new operators with the String, Number and Boolean Objects JS-0080
Anti-pattern
Minor
1 occurrence in this check
Do not use String as a constructor.
10594    }
10595
10596    function thousand_separate (value) {
10597      let value_str = new String(value)10598      for (let i = 10; i > 0; i--) {
10599        if (value_str == (value_str = value_str.replace(/^(\d+)(\d{3})/, '$1' + $.jqplot.sprintf.thousandsSeparator + '$2'))) break
10600      }