I gotta say. The refactor looks good, but the lack of consistency in the order of your arguments really triggers me.
While you are mapping the args, the order doesn't matter in terms of working code, but it could be a wee bit more readable to the human eyes that work with the code. ;)
Hmm, I don't know if you're talking about joinStrings function which in this case the order of the arguments does matter. On the other hand, I could simply pass a single array argument which was my first attempt.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I gotta say. The refactor looks good, but the lack of consistency in the order of your arguments really triggers me.
While you are mapping the args, the order doesn't matter in terms of working code, but it could be a wee bit more readable to the human eyes that work with the code. ;)
Hmm, I don't know if you're talking about
joinStrings
function which in this case the order of the arguments does matter. On the other hand, I could simply pass a single array argument which was my first attempt.