Caesar’s cipher algorithm

rot13(
)
Returns:
 

I created this algorithm as a requirement for my freeCodeCamp JavaScript Algorithms and Data Structures Certification. It is an implementation of the ROT13 cipher, decoding (or encoding) a given message by replacing each letter with the letter 13 places away from it in the alphabet.