title: How to remove elements from object of arrays
body: <p>I use an object of arrays and I want to delete a specific value in 1 of the arrays.</p>
  <pre><code>let medici= [&quot;Person1&quot;,&quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;,  &quot;Person6&quot; ];
  let giorni = [&quot;Lun&quot;, &quot;Mar&quot;, &quot;Mer&quot;,&quot;Gio&quot;,&quot;Ven&quot;]; let presenti ={};
  for  (let giorno of giorni){ presenti[giorno] = medici; }
  </code></pre>
  <p>I obtain:</p>
  <pre><code>Gio: [&quot;Person1&quot;, &quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;, &quot;Person6&quot;],
    Lun: [&quot;Person1&quot;, &quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;, &quot;Person6&quot;],
    Mar: [&quot;Person1&quot;, &quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;, &quot;Person6&quot;],
    Mer: [&quot;Person1&quot;, &quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;, &quot;Person6&quot;],
    Ven: [&quot;Person1&quot;, &quot;Person2&quot;, &quot;Person3&quot;, &quot;Person4&quot;, &quot;Person5&quot;, &quot;Person6&quot;]
  </code></pre>
  <p>Now I want to delete specific value in specific array:</p>
  <pre><code>giorno=&quot;Ven&quot;;
  nome=&quot;Person1&quot;;
  presenti[giorno].splice(presenti[giorno].indexOf(nome), 1);
  </code></pre>
  <p>It delete the value in all the arrays!!! Not only in the &quot;Ven&quot; one...
  How can I delete a single one element in a specific array not affecting the other arrays of the object?</p>
  <p>Thx</p>