{"size": 263, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "violashavlis/reverse-int", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "violashavlis/reverse-int", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "violashavlis/reverse-int", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.3, "max_line_length": 49, "alphanum_fraction": 0.5133079848}
module.exports = function reverse (n) {
    var input = Math.abs(n).toString();
    var resultStr = "";
    for (var i = input.length - 1; i >= 0; i--) {
      if (resultStr !== "" || input[i] !== "0")
      resultStr += input[i];
    }
    return resultStr;
  }
