Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function user(userName, email, password) {
- this.userName = userName;
- this.email = email;
- this.password = password;
- }
- var skulldev = new user("SkullDev", "skulldev@bestemailever.com", "12345");
- 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