Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var here = 'thisone'
- function funfun(){
- var here = 'notthisone';
- console.log(this.here);
- }
- var containingObject = {
- here: "here actually",
- };
- funfun.call(containingObject);
- funfun.apply(containingObject);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement