I am trying to do the 4th Javascript excercise in The Odin Project (<https://github.com/TheOdinProject/javascript-exercises/tree/main/04_removeFromArray>) and i am facing huge difficulties.

Currently the only thing that i managed to do is pass the first test, which was about to remove one value from the array. My code is the one below:

```
let array = new Array();

const removeFromArray = function(array) {
   let index = array.indexOf(3);
   if (index > -1) {
       array.splice(index,1);
      }
return array;
}

```

Any help on how i could advance on the level that i could remove multiple values, that would be amazing.

I ve read some solutions online but i really didn't get a lot.

Thank you very much in advance!