title: What .join() method does in Google App Script?
body: <p>Actually, I'm doing a script which removes row duplicates from an array. And it works properly, but I don't know why :) Here is a string of my code:</p>
  
  <pre><code>if (refValues[i].join() == uniqueAddrs[n].join())
  </code></pre>