title: return values in newlines in JavaScript
body: <p>I can print each value in newline by console logging 3 times and without returning  those values but is it possible to return each value in a newline ? my code -</p>
  <pre><code>function plusMinus(arr) {
      let posCount =0;
      let negCount =0;
      let zeroCount =0;
  
      for(let i=0; i&lt;arr.length; i++){
          if(arr[i] == 0){
              zeroCount++
          }else if(arr[i]&gt;0){
              posCount++
          }else{
              negCount++
          }
      }
      
      return console.log((posCount/arr.length).toFixed(6),(negCount/arr.length).toFixed(6), (zeroCount/arr.length).toFixed(6));
  }
  
  plusMinus([4,4,-6,-3,0,0])
  </code></pre>
  <p>OUTPUT -</p>
  <pre><code>0.333333 0.333333 0.333333
  </code></pre>
  <p>Desired Output -</p>
  <pre><code>0.333333 
  0.333333 
  0.333333
  </code></pre>