function strEncrypt(str) { return str.split('').map(s => { return String.fromCharCode(s.charCodeAt() + 1) }).join('')}console.log(strEncrypt('hello world')) // ifmmp!xpsme
function strEncrypt(str) { return str.split('').map(s => { return String.fromCharCode(s.charCodeAt() + 1) }).join('')}console.log(strEncrypt('hello world')) // ifmmp!xpsme