結果 : reverse each word in a string javascript without using inbuilt function