swapping the first and last letters of every word in a string using javascript

前端 未结 0 1132
走了就别回头了
走了就别回头了 2021-01-23 07:49

Given a string of words separated by spaces, write a function that swaps the first and last letters of every word. You may assume that every word contains at least one letter, a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题