const wordCounter = sentences.reduce((d, i) => [...d, ...i.split(' ')], [] as string[] ).reduce((d, i) => ({ ...d, [i]: d[i] + 1 || 1 }), {} as { [key: string]: number } ) #100DaysOfCode #TypeScript #js #reactjs #programming #programacion #coders
0
6
2
0
0