Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addaccountfunc(usrnew, passnew) {
- console.log(" Forgotten passwords/usernames can NOT be reset!")
- if (usrnew === usr ){
- console.log("Sorry, that username is taken, would you like to chose another?")
- }
- var usrnew = prompt("Chose a username: ")
- if (passnew != password){
- var passnew = prompt("Chose a password:")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement