Created
February 9, 2022 08:59
-
-
Save pradeeprjth/66b33d653435b9680982d12c35c4e845 to your computer and use it in GitHub Desktop.
the const persion is a array of fullname
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
const person = { | |
fullName: function() { | |
return this.firstName + " " + this.lastName; | |
} | |
} | |
const person1 = { | |
firstName: "Mary", | |
lastName: "Doe" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment