Back
Close

Ceaser Cipher

Adriaan
3,166 views

Next, write a function with the name replace that takes 3 parameters.

  • The first parameter should be a String type and hold the value of the text you want to replace a character in.
  • The second parameter should be String type and hold that value of the character you want to replace.
  • The third parameter should also be a String type and hold the value of the characher you want to replace the given character with.
replace Function
// Create your function here.
// { autofold
// Do not delete the lines below!
module.exports = replace;
// }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants