Posts by David Bastos • 355 points
2 posts
-
17
votes8
answers34672
viewsQ: Convert every first letter of every word into uppercase
I have the following question: Write a titleize(text) function that converts every first letter of every word into uppercase. ex: titleize("this IS just A Text"); // correct output -> (This Is…
javascriptasked David Bastos 355 -
8
votes2
answers145
viewsQ: Number of repetitions per character
A friend passed me the following exercise: Create a function frequencyLetra(text) that returns an object containing the amount of occurrences of each character present in the text. I started from…
javascriptasked David Bastos 355