Javascript boot camp - Caesar cipher solution

preview_player
Показать описание
In "Javascript boot camp - Caesar cipher solution" I show you the solution to the challenge.
Рекомендации по теме
Комментарии
Автор

The English alphabet has 26 letters,
so at the 5th line of the solution, it should be val % 26, shouldn't it ??

fyad
Автор

I join the opinion of Fey ElAhmed. And your second and fourth "it" are incorrect. For expected values (''aaa') second arguments of cipher function should be 26 and -27, respectively.

captaincrocus
join shbcf.ru