function reverseString(s){ return s.split("").reverse().join(""); } reverseString("Hello");//"olleH"
確定! 回上一頁