Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript advanced concepts

var user = {     name: "Rahul Mhatre",     whatIsYourName: function() {     console.log(this.name);     }};user.whatIsYourName(); // Output: "Rahul Mhatre",var user2 = {     name: "Neha Sampat"};user.whatIsYourName.call(user2); // Output: "Neha Sampat"
Source by www.infoworld.com #
 
PREVIOUS NEXT
Tagged: #javascript #advanced #concepts
ADD COMMENT
Topic
Name
7+9 =