1 karma · joined Mar 21, 2018 (8y ago) · 3 submissions
comment 8y ago · link · parent
In javascript I would solve it like so: "HELLO".replace(/./g, character => String.fromCharCode(character.charCodeAt() + 1))
This would result in "IFMMP".
Basically it's just a matter of shifting charcodes.
3.
Show HN: Asynchronous HTTP framework with support for ES modules(github.com ↗)
1 points · by Neist · 8y ago · discuss