Tell us what’s happening:
Describe your issue in detail here.
I have solved it already and trying to revisit it back again but I can’t figure out why this solution keeps adding duplicates of the missing item. trying to figure out a way to get around it.
I already know how to solve it using different methods, I am just trying to understand this one more Your code so far
Another question as well for a concept that i am not fully understanding
I looked at the solution utilizing the concat/filter/includes and wrote my version of it without copying but it’s also not working
I guess the problem I have here have to do with the solution using the return keyword,
However my approach was to to use more variables instead of chaining .
working solution from FCC: