loading...

re: Daily Challenge #190 - capitalizeFirstLast VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I think there are a couple mistakes in your solution. In your capitalizeFirstLastInWord function, you are using the variable entry. I think you me...
 

You are 100% right, I did some last-minute refactoring and I was a bit distracted! :P

I will edit it for future readers :)

About the reduce part: The idea came because last year I was able to work with an
awesome team which enforced very good practices & a very cool "implementation"
of functional programming, I miss that team a lot!

code of conduct - report abuse