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 javascript.info #
 
PREVIOUS NEXT
Tagged: #JavaScript #Keyword
ADD COMMENT
Topic
Name
4+1 =