## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
the-code-less-traveled
@the-code-less-traveled
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Jon Grant
@jong649
hint symmetric difference
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Jon Grant
@jong649
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Jon Grant
@jong649
hint
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Jon Grant
@jong649
symmetric difference hint
the-code-less-traveled
@the-code-less-traveled
Thanks @Rafase282 for your help with Bonfire: Seek and Destroy
CamperBot
@camperbot
the-code-less-traveled sends brownie points to @rafase282 :sparkles: :thumbsup: :sparkles:
:star: 1097 | @rafase282 | http://www.freecodecamp.com/rafase282
Tom
@jsdevtom
Why the f* doesn't my code work function destroyer(arr) {
return arguments[0].filter(function(x) {
return x != (arguments[1] || arguments[2]);
});
}
Øistein Haugland
@oisteinhaugland
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Øistein Haugland
@oisteinhaugland
hint
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Øistein Haugland
@oisteinhaugland

.filter loops through an array, and then outputs a new array that passes the function. But how do i target the individual keys of the loop. As we would do in a for loop. like value[i] f.eks.

Because i’m trying to make an if statement that compares the current key to all other arguments, and i just can figure out how to target the key

could anyone enlighten me on this?
maybe i’m asking the wrong question. Am i completely lost on this?
Ryan
@ryanjmack
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Ryan
@ryanjmack
hint
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Alejandro Chung
@kyochung
help mutations
CamperBot
@camperbot

# Algorithm Mutations

### Problem Explanation:

• Return true if the string in the first element of the array contains all of the letters of the string in the second element of the array..
@camperbot there is no need to splice here.
Jonathan Wright
@electricflannel
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Jonathan Wright
@electricflannel
hint
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Jonathan Wright
@electricflannel
help seek and destroy
CamperBot
@camperbot

# Algorithm Seek and Destroy

:triangular_flag_on_post: Remember to use Read-Search-Ask if you get stuck. Try to pair program :busts_in_silhouette: and write your own code :pencil:

### :checkered_flag: Problem Explanation:

This problem is a bit tricky because you have to familiarize yourself with Arguments, as you will have to work with two or more but on the script you only see two. Many people hardcode this program for three arguments. You will remove any number from the first argument that is the same as any other other arguments.

Rits1225
@Rits1225
Fiona
@beachgurl
Thanks @Rafase282 for your help with Algorithm: Seek and Destroy
CamperBot
@camperbot
beachgurl sends brownie points to @rafase282 :sparkles: :thumbsup: :sparkles:
:star2: 1410 | @rafase282 |http://www.freecodecamp.com/rafase282
Hichem
@skyros123
Thanks @Rafase282 for your help with Bonfire: Seek and Destroy
CamperBot
@camperbot
skyros123 sends brownie points to @rafase282 :sparkles: :thumbsup: :sparkles:
:star2: 1444 | @rafase282 |http://www.freecodecamp.com/rafase282
rarkebauer
@rarkebauer
hint
CamperBot
@camperbot

hint [1/1]

## ## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

rarkebauer
@rarkebauer
hint
CamperBot
@camperbot
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
manny-k
@manny-k
Thanks @Rafase282 for your help with Algorithm: Seek and Destroy
CamperBot
@camperbot
manny-k sends brownie points to @rafase282 :sparkles: :thumbsup: :sparkles:
:star2: 1519 | @rafase282 |http://www.freecodecamp.com/rafase282
lmilliken
@lmilliken
This message was deleted
hint