Seek and Destroy - unable to see input arguments

Seek and Destroy - unable to see input arguments
0

#1

Tell us what’s happening:
I cannot seem to get the arguments that come after the array. If I print arr to the console, it only outputs the array, not the arguments that come after it.

Your code so far

function destroyer(arr) {
 console.log(arr);
  
}

destroyer([1, 2, 3, 1, 2, 3], 2, 3);

** Firefox Console Output **

Array [1, 2, 3, 1, 2, 3]
Array [1, 2, 3, 5, 1, 2, 3]
Array [3, 5, 1, 2, 2]
Array [2, 3, 2, 3]

As you can see, these are just the arrays I’m supposed to be searching. They don’t include the arguments I’m supposed to use to search. I would add more arguments to the function, but we’re not given a set amount… What am I missing?

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0.

Link to the challenge:


#2

Haiiiyo. The arguments are actually provided and I’ve just tested it to be the case. You may want to have a look at the helpful links. :smile:


#3

I don’t know how I missed that first link. Whoops! Thanks for the help.