Please help me understand on the concept of object


Please correct my statement from my understanding below

  1. Method is a function inside an object
  2. While method looks like a property, actually it is not a property as it has no property value
  3. Method is just a way to manipulate other properties inside an object.

are these statements right ?



True, however they are also built in methods. Pre-defined.


A method is a property that has a function definition.

This is one of the uses,

However the use of methods is only limited to your creativity, because methods can be extremely powerful or just another by the way.


Thanks for the insight Dave.