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.
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.
Thank you, for your contribution. For future contributions, please wrap your solution within :
code goes here...
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.