js function method

/ **
* call () and the Apply
* These two methods are methods function object, you need to call through the function object
* When the function call to call () and apply () function call will execute
* calling call () and apply () may specify an object as the first parameter
* is the object's function will be performed by the this
* Call () method arguments may be passed one after the object
* apply () method requires arguments to a package unified array passed
*
* * /

Guess you like

Origin www.cnblogs.com/lw1998/p/11404215.html