Created
May 17, 2022 20:31
-
-
Save carlovsk/84b9f88c67e8f5cfafe09a0a9ea70137 to your computer and use it in GitHub Desktop.
Cool and memorable password generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This will receive a word or phrase as a parameter and return the same string but with all the letter "E"s replaced by the number 3 | |
function generateCoolPwd (str) { | |
console.log(str.replaceAll('e', 3).replaceAll('E', 3)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment