Ad
Code
Diff
  • wordCount=s=>s.trim().split(' ').length
    • wordCount=s=>s.trim().split` `.length
    • wordCount=s=>s.trim().split(' ').length