I have always been confused between these two. From what I understand, methods always use dot notation like:
$( "li.third-item" ).nextAll().addBack().css( "background-color", "red" );
In this case, nextAll(), addBack() and .css() are all methods.
Similarly, functions are called directly. Like,
make_tea();
I want to know with certainty whether something is a function or a method by looking at how it is used. Does using PersonOne.run_now() always guarantee that run_now() is a method? Can run_now() still be a function if we are using a . to access it?
My question is "Does a function become a method when we are using . to call it?"
 
    