This comment is hidden because it contains spoiler information about the solution
Use of this is a little creepy, but could be mapped to an exported object in a real module.
this
Extracting a named function that pigifies one word would also be preferable in real production code to using an anonymous function.
Agreed. It says in the puzzle descriptions: "All code is ran through BabelJS (ES 2015 supported)". repeat is part of ES 2105, isn't it?
repeat
By far the best combination of clarity and brevity among the solutions I reviewed. Nice job.
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Use of
this
is a little creepy, but could be mapped to an exported object in a real module.This comment is hidden because it contains spoiler information about the solution
Extracting a named function that pigifies one word would also be preferable in real production code to using an anonymous function.
Agreed. It says in the puzzle descriptions: "All code is ran through BabelJS (ES 2015 supported)".
repeat
is part of ES 2105, isn't it?By far the best combination of clarity and brevity among the solutions I reviewed. Nice job.