mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 17:50:39 +08:00
Remove live code & console.log, leave examples as comments.
This commit is contained in:
@ -68,5 +68,7 @@ function decrypt (keyword, message) {
|
||||
return translate(getEncryptedAlphabet(keyword.toLowerCase()), alphabet, message)
|
||||
}
|
||||
|
||||
console.log(encrypt('keyword', 'Hello world!')) // Prints 'Aoggj ujngw!'
|
||||
console.log(decrypt('keyword', 'Aoggj ujngw!')) // Prints 'Hello world!
|
||||
export { encrypt, decrypt }
|
||||
|
||||
// encrypt('keyword', 'Hello world!') // Prints 'Aoggj ujngw!'
|
||||
// decrypt('keyword', 'Aoggj ujngw!') // Prints 'Hello world!
|
||||
|
Reference in New Issue
Block a user