run a javascript function code example
Example: javascript run function
var Object = {
Name:"John",
LastName: "Doe",
CallName: function() {
return this.Name + " " + this.LastName;
}
}
Object.CallName(); // Will return "John Doe"
var Object = {
Name:"John",
LastName: "Doe",
CallName: function() {
return this.Name + " " + this.LastName;
}
}
Object.CallName(); // Will return "John Doe"