Random 'undefined' gets inserted into string

后端 未结 0 522
死守一世寂寞
死守一世寂寞 2020-11-27 15:13

I have a function that takes in an integer and returns it in reverse reverse(-425) -> -524

let reverse = (x) => {
    let y = x.toString()
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题