I am trying to remove an element in an array in a forEach loop, but am having trouble with the standard solutions I\'ve seen.
forEach
This is what I\'m current
Here is how you should do it:
review.forEach(function(p,index,object){ if(review[index] === '\u2022 \u2022 \u2022'){ console.log('YippeeeE!!!!!!!!!!!!!!!!') review.splice(index, 1); } });