Vue: How to remove object from array by it's value?
<p>Is it's possible to remove object from array by it's value, not by index without iteration with <code>for</code> loop?</p>

<p>I tried to remove element with iteration, but it's look like that it do not remove iteration elements:</p>

<pre><code>App.$refs.userContent.foo : [1,2,3,4]
console.log(App.$refs.userContent.foo);
App.$refs.userContent.foo.forEach(function(x,i) 
 {
App.$refs.userContent.foo.$remove(i);

});
console.log(App.$refs.userContent.foo);
</code></pre>

<p>Result:</p>

<p><code>[1, 2, 3, 4, __ob__: Observer]</code></p>

<p><code>[3, 4, __ob__: Observer]</code></p>

<p>Why it's do not remove all elements?</p>