题解 | #数字颠倒#
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
let str = readline(); function getStr(str){ let arr = [...str]; console.log(arr.reverse().join('')); } getStr(str);
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
let str = readline(); function getStr(str){ let arr = [...str]; console.log(arr.reverse().join('')); } getStr(str);
相关推荐