Closed bmorelli25 closed 8 years ago
@Rafase282, Do we want another solution or this challenge?
Nope, only 3 solutions. @bmorelli25 @atjonathan
This needs to be fixed.
@atjonathan Do you want to leave it as-is or swap out one of the solutions? Let me know and I'll either close the pull request or make the changes
We would have to decide in which category it falls then to either replace or merge the solution.
After taking some time to look at the answer I think we gain nothing from adding it. It uses elements from the current intermediate and advance solutions, call it a hybrid if you will. Nothing wrong with the code but I would say why not use map already? and we have one that already does that. I'm closing this for now but feel free to discuss further if you do not agree. @bmorelli25
FreeCodeCamp - Wiki Pull Request Template
Added in a new solution utilizing ES6's new spread operator. This is a new solution that works well and is easy to understand.