var str=“12345” Array.prototype.map(str,function(x){ return x; }).reverse().join(""); 转载于:https://www.cnblogs.com/xiaoyaoweb/p/10512175.html