(code)
| 80 | |
| 81 | |
| 82 | function translateCode(code) { |
| 83 | translation = " " |
| 84 | splitCode = code.split(" ") |
| 85 | for (let i = 0; i < splitCode.length; i++){ |
| 86 | translation += reversed.get(splitCode[i]) |
| 87 | } |
| 88 | return translation |
| 89 | } |
| 90 | |
| 91 | // makes the english word appear |
| 92 | function encryptCode() { |