Message Mixer

i can encode alright, but i cannot decode. And I don’t have a glue how to tackle the err shown. I would appreciate leads…

You may be able to fix that error by giving that function the name caesarCipher;

meaning change

module.exports.caesarCipher = function(str, amount = 0) { 

to

module.exports.caesarCipher = function caesarCipher(str, amount = 0) {

so that the computer knows what the caesarCipher inside that function refers to.

Hey there.
thank a lot for taking the time for getting back to me.

I’ll try suggestion. But I can’t quite hack why my code is working it way in, but throws an err on its way out when everything remains and were simply re- arranged inside out.