title: How to compare two arrays in node js?
body: <p>I am having two arrays, how can i compare the two arrays at single shot.</p>
  
  <pre><code>   var arr1= ["a","b","c"];
     var arr2 = ["a","c","d"]
  
     if(arr1 == arr2){
        console.log(true);
      }else{
        console.log(false);
      }
  </code></pre>