Advertisement
Guest User

Untitled

a guest
Feb 11th, 2018
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function user(userName, email, password) {
  2. this.userName = userName;
  3. this.email = email;
  4. this.password = password;
  5. }
  6.  
  7. var skulldev = new user("SkullDev", "skulldev@bestemailever.com", "12345");
  8.  
  9. document.write(skulldev.userName + "'s email is " + skulldev.email + " and his/her password is " + user.password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement