If I have the following code:
var person = {
firstName: "John",
lastName : "Doe",
id : 5566,
fullName : function() {
return this.firstName + " " + this.lastName;
}
};
What is it called? Is it just a JSON object, even though it has a function binding? In the example I gave, could I call fullName a method?