Structure of Wherefore Art Thou help

I don’t want to spoil things for you but I personally hated this challenge because the initial state of the code editor is totally misleading

 function whatIsInAName(collection, source) {
      // What's in a name?
      var arr = [];
      // Only change code below this line
  
  
  // Only change code above this line
  return arr;
}

Protip: arr isn’t used at all in the solutions listed here https://forum.freecodecamp.com/t/freecodecamp-algorithm-challenge-guide-wherefore-art-thou/16092/15

This challenge is pretty terrible. In fact in my solution I left a code comment saying // HOW DARE YOU FCC WORST CHALLENGE YET! to remember to stay salty lol.

1 Like