Javascript – difference between functionName() and in javascript


Hopefully the title is self explanatory, what is the advantage of using the .call() method in Javascript compared with just writing functionName(); ?

Best Solution takes an object instance as its first parameter. It then runs functionName within the context of that object instance (ie "this" is the specified instance)