/ Published in: JavaScript
It's not usefull at all. >
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
String.prototype.increment = function() { return this.split('').map(function(s) { return String.fromCharCode(s.charCodeAt(0) + 1); }).join(''); } "javascript".increment() //kbwbtdsjqu