Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function outer() {
- console.log(this);
- var that = this;
- function inner() {
- console.log(that );
- }
- inner();
- }
- outer.call({ id: 10 });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement