Bonjour à tous,
Voici mon implémentation avec un peu de retard ;)
countWords = str => {
const arr = str.split(' ')
const obj = arr.sort().reduce((acc, word, index) => {
if (word...
Bonjour à tous,
Voici mon implémentation avec un peu de retard ;)
countWords = str => {
const arr = str.split(' ')
const obj = arr.sort().reduce((acc, word, index) => {
if (word...