Need to know why isn't working

Tell us what’s happening:

Your code so far

function destroyer(arr) {
// Remove all the values
// console.log(arguments)
let be= Array.from(arguments)

let args= be.splice(1,6)
// console.log(args)
  let total=[];
for(let i=0; i<arr.length; i++){
  for(let j=0; j<args.length; j++){


return total;

destroyer(["possum", "trollo", 12, "safari", "hotdog", 92, 65, "grandma", "bugati", "trojan", "yacht"], "yacht", "possum", "trollo", "safari", "hotdog", "grandma", "bugati", "trojan");

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36.

Challenge: Seek and Destroy

Link to the challenge:

let args= be.splice(1,6)

This only gets the last 6 arguments. The test you are failing has arguments 9 arguments total, so you are missing the last 2. I would strongly suggest not trying to hardcode some “large” number to capture more arguments. Instead, think how you could capture just the right number.