Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

call Method

Calls a method of an object, substituting another object for the current object.

function call([thisObj : Object [, arg1[, arg2[, ... [, argN]]]]])

Optional. The object to be used as the current object.

arg1, arg2, ..., argN

Optional. List of arguments to be passed to the method.

The call method is used to call a method on behalf of another object. The call method allows you to change the object context of a function from the original context to the new object specified by thisObj.

If thisObj is not supplied, the global object is used as thisObj.

Other Resources

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.