Javascript String nextChar(i)

Description

Javascript String nextChar(i)


String.prototype.nextChar = function (i) {
    var n = i | 1;
    return String.fromCharCode(this.charCodeAt(0) + n);
}



PreviousNext

Related