Remove elements of an array from another array using javascript
<p>I have two arrays</p>
<pre><code>a[] = [1,2,3,4]
b[] = [1,4]
</code></pre>
<p>Need to remove elements of array b from array a.</p>
<p>Expected output:</p>
<pre><code> a[] = [1,4]
</code></pre>