title: How to pass an arrays as a function arguments in JavaScript
body: <p>Like in the title. I want to pass a few arrays as a function parameters.</p>
  
  <pre><code>var array1 = ["a", "b", "c"];
  var array2 = ["d", "e"];
  var array3 = ["f", "g"];
  
  function arraysFunction(param1, param2, param3){
      var a = param1;
      var b = param2;
      var c = param3;
  }
  </code></pre>
  
  <p>How to do that?
  Thanks in advance</p>