In the early days of the forum, users were allowed to post their answers in the guide thread and discuss with other developers.
The moderators decided to close all of the discussion threads for the guide topics because it was just becoming a dumping ground for solutions without much discussion.
That’s true.
But, I don’t know if we really need to add a new solution to the guide because it is basically solution 3 from the guide without the arrow function.
Maybe one suggestion would be to just add it with solution 3
But the other moderators are free to chime and decide if it will be added to the guide.
Please read through these instructions on how to add contributions in the future.
Thanks!
Thank you, for your contribution. For future contributions, please wrap your solution within :
[details]
```
code goes here...
```
[/details]
Also, provide all of the necessary code to pass the challenge.
Also, when you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.
I think this might be a time to clean up and reduce the solution set for this challenge. One with raw loops + one with ES6 syntax? I’m not big on the idea of changing the function signature just to make a one-liner though.
I agree, there should be a version that is just using spread instead of apply.bind.
I’m pretty sure I was about to change it at some point but didn’t. Maybe we should keep the apply.bind version just so it can be compared to the spread version.
Edit: although I’m not crazy about the wall of text the apply.bind version comes with. So maybe we should just get rid of it in favor of the spread version?