function reverseString(str) { var sTmp = ""; for (var i = str.length - 1; i >= 0; i--) sTmp+= str.charAt(i); return sTmp; }
No comments:
Post a Comment