Skip to content

Commit

Permalink
Reto mouredev#1 - JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
moragacomar committed Jan 2, 2023
1 parent 2149e18 commit 61f3449
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const mensaje = "Hola"
const lenguaje = {
"a": "4", "b": "I3", "c": "[", "d": ")", "e": "3", "f": "|=", "g": "&", "h": "#", "i": "1",
"j": ",_|", "k": ">|", "l": "1", "m": "/\/\\", "n": "^/", "o": "0", "p": "|*", "q": "(_,)",
"r": "I2", "s": "5", "t": "7", "u": "(_)", "v": "\/", "w": "\/\/", "x": "><", "y": "j",
"z": "2"
}
const hacker = mensaje.toLowerCase().split("").map(e => lenguaje[e])

console.log(hacker.join(""))

0 comments on commit 61f3449

Please sign in to comment.