Advertisement
ahmed_1991

The JavaScript call Method

Dec 29th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. The JavaScript call() Method
  2.  
  3. The call() method is a predefined JavaScript method.
  4.  
  5. It can be used to invoke (call) a method with an owner object as an argument (parameter).
  6.  
  7. With call(), an object can use a method belonging to another object.
  8.  
  9. This example calls the full Name method of person, using it on person 1:
  10.  
  11. Download File on Media Fire: http://dapalan.com/2kAH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement