text: module.exports = function reverse (n) {
    let nString = String(Math.abs(n));
    let i = nString.length - 1;
    let result = '';
    while (i >= 0) {
      result = result + nString[i];
      i = i - 1;
    }
  
    return Number(result);
  }
  