解法1:数组方法split()将字符串分割成数组,reverse()将数组反转,join()把数组合并成字符串function reversestring(str) { return ...
確定! 回上一頁