Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function User (firstName, lastName) {
- this.firstName = firstName;
- this.lastName = lastName;
- this.userRole = 'admin';
- }
- let Jane = new User('Jane', 'Doe');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement