/ Published in: JavaScript
URL: http://jsfiddle.net/Bu3As/
Expand |
Embed | Plain Text
String.prototype.reverse = function() { return this.split("").reverse().join(""); }
You need to login to post a comment.
cfleschhut on 04/28/10
javascript object String prototype native reverse
1 person have marked this snippet as a favorite
URL: http://jsfiddle.net/Bu3As/
String.prototype.reverse = function() { return this.split("").reverse().join(""); }
You need to login to post a comment.