Help me in seek and destroy challenge

help me in seek and destroy challenge

Not that I can help but people will need a bit more information in order to help you… So what have you done so far? What’s the part that blocks you? What do you think your code is supposed to do?

That’s the typical questions you’ll get :wink:

1 Like

So I’m sure you know how to do it but are probably confused as to how to grab the arguments outside the array.
So in the function: arr is simply arguments[0] that is [1, 2, 3, 1, 2, 3].

The best practice is to grab arguments and put them in an array of their own
eg to grab all arguments do var x =;
to grab from arguments[n] first
var x =, 1) //this code pushes every arguments[1], arguments[2], arguments[3] etc into x

I hope that’s a sufficient hint. Good luck.

1 Like

thank u, now i got the idea…and i have completed the challenge