A method is a procedure that is part of an object, or a function that is a part of an object and which cannot be assigned a value from outside of the function. A function that is part of an object that can be assigned a value from outside of the function is called a property.