Delete repeated and concatenate values Javascript : <p>I have this Arrays </p>

<pre><code>const array1 = ['546546546546', '01/01/2020', 'A']; 
const array2 = ['866465465465', '01/01/2020', 'B'];
const array3 = ['546546546546', '05/01/2020', 'B'];
</code></pre>

<p>The first value from array1 and Array3 is the same. But the rest is not the same.</p>

<p>I want to eliminate those that are repeated in the  value 0 and concatenate what they have in 1 and 2.</p>

<p>To get something like this:</p>

<pre><code>['546546546546', '01/01/2020 A - 05/01/2020 B']; 
['866465465465', '01/01/2020 B']; 
</code></pre>
