Ad Code

Responsive Advertisement

This is javascript tutorial.


Copy the following code for try 
const person = { firstName:"John", lastName: "Doe", fullName: function () { return this.firstName + " " + this.lastName; } } // This will return "John Doe": person.fullName();

Post a Comment

0 Comments

Close Menu