showing results for - "javascript remove all the common value from array"
Juan David
02 Sep 2016
1toRemove =[1,2];
2myArray = [1,2,3,5];
3
4myArray = myArray.filter( function( el ) {
5  return toRemove.indexOf( el ) < 0;
6} );