ProdanTenev

passGuess

Feb 12th, 2022 (edited)
1,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.20 KB | None | 0 0
  1. function passwordGuess(input) {
  2.     let password = String(input);
  3.     if (password === "s3cr3t!P@ssw0rd") {
  4.         console.log("Welcome");
  5.     } else {
  6.         console.log("Wrong password!");
  7.     }
  8. }
Add Comment
Please, Sign In to add comment