Introduction In JavaScript, almost everything is an object. An object can have methods - a function that is a property of the object. const user = { firstName: "Alicia", lastName: "Keys", greet: function () { alert("Hello!"); } }; user.g...
sinchanams.hashnode.dev4 min read
No responses yet.