Advertisement
meanbao

Untitled

Dec 13th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function User (firstName, lastName) {
  2.     this.firstName = firstName;
  3.     this.lastName = lastName;
  4.     this.userRole = 'admin';
  5. }
  6.  
  7. let Jane = new User('Jane', 'Doe');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement