题解 | #整数反转#
整数反转
http://www.nowcoder.com/practice/eceaa68482354edf9c3409c5b3e942b9
function _reverse(number) {
// 补全代码
let rev_number = Array.from(Math.abs(number).toString()).reverse().join('')
return number > 0 ? +rev_number : -rev_number
}