JSFiddle - React, Tailwind, and code Playground
by Joe Cisneros
JavaScript
String.prototype.nextChar = function(i) {
var n = i | 1;
return String.fromCharCode(this.charCodeAt(0) + n);
}
String.prototype.prevChar = function(i) {
var n = i | 1;
return String.fromCharCode(this.charCodeAt(0) - n);
}
document.write('a'.nextChar());
document.write('</br>');
document.write('b'.prevChar());