调用数组的原型的方法实现数字的切割与反转 var str=“12345” Array.prototype.map(str,function(x){ return x; }).reverse().join("");