Question about 'Array' methods:

Check out my new JS project app:
Secret_Message.js

  1. What is the difference between functions and methods ?

  2. Do they both take params/arguments ?

  3. Array method syntax seems to be either ‘array.method_name’ or ‘array.method_name()’ , are both
    syntaxes considered methods ?

  1. a method belongs to an object. For example array.push() and array.pop() are methods, they belong to array. We can’t do: "my string".push()

  2. Yes.

  3. No. array.method_name would be considered a property.