JavaScript:实现CaesarsCiphe凯撒密码r算法 const caesarsCipher = (str, rotation) => { if (typeof str !== 'string' || !Number