Created
September 26, 2019 07:17
-
-
Save AkashRajvanshi/1b506a56978a8fbc2380b8e7263b3fc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function User (firstName, lastName) { | |
this.first_Name = firstName | |
this.last_Name = lastName | |
} | |
const showUserDetails = new User('akash', 'rajvanshi') | |
console.log(showUserDetails) // User { first_Name: 'akash', last_Name: 'rajvanshi' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment