return s.split("").map(function(x) {return x.charCodeAt() - '0'.charCodeAt()}).reduce(function(x,y) {return 10 * x + y});
Sign in to make a reply
腾腾2318