title: Console.log convert array to comma separated value
body: <p><strong>Test-1</strong></p>
  
  <pre><code>let myArray = [1,2,3]
  function arrayCounter (array1) {
      console.log(`this is statement ${array1}`);
  }
  arrayCounter(myArray)
  </code></pre>
  
  <blockquote>
    <p><strong>O/P => this is statement 1,2,3</strong></p>
  </blockquote>
  
  <p><strong>Test-2</strong></p>
  
  <pre><code>let myArray = [1,2,3]
  function arrayCounter2 (array1) {
      console.log("this is statement " + array1);
  }
  arrayCounter2(myArray)
  </code></pre>
  
  <blockquote>
    <p><strong>O/P => this is statement 1,2,3</strong></p>
  </blockquote>
  
  <p><strong>Test-3</strong></p>
  
  <pre><code>let myArray = [1,2,3]
  console.log(myArray)
  </code></pre>
  
  <blockquote>
    <p><strong>O/P => [1,2,3]</strong></p>
  </blockquote>
  
  <p>In <strong>test-1</strong> and <strong>test-2</strong> expected O/P should be this is statement [1,2,3]</p>
  
  <p>So, Why this is happening? I don't understand a scenario.</p>