Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript this Keyword

const person = {
  firstName: "John",
  lastName : "Doe",
  id       : 5566,
  fullName : function() {
    return this.firstName + " " + this.lastName;
  }
};
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #Keyword
ADD COMMENT
Topic
Name
5+4 =