@ShaCP Yeah that’s a solution, but it doesn’t help the OP to adjust their own code. If they only wanted to copy/paste some solution, they could’ve gotten that from the hints page.
@Porphyrogennitos Can you be more specific about what confuses you concerning destructuring? Maybe this clears it up a little:
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
When in doubt, I always recommend writing a simple, dumb loop to do the task before adding fancy syntax. Anything you can do with advanced syntax can also be done with basic syntax.
In this case, it is a question of what you want to loop over. You want to capitalize every word in a sentence, so it feels natural to me to loop over every word. Then I’d ask myself