結果 : write a program to reverse a string without using the reverse () method in javascript