title: Remove element from array, using slice
body: <p>I am trying to remove a element from my array using slice, but i can't get it to work, look at this piece of code.</p>
  
  <pre><code>    console.log(this.activeEffects); // Prints my array
      console.log(this.activeEffects.slice(0,1)); // Remove from index 0, and remove one.
      console.log(this.activeEffects); // Prints array again, this time my element should be gone
  </code></pre>
  
  <p>Result of this is.</p>
  
  <p><img src="https://i.stack.imgur.com/BhirF.png" alt="enter image description here"></p>
  
  <p>So what is get from this is, at first the array is whole, as it should be. Then its prints what is sliced of the array. Finally the third should be empty? or?</p>