Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var daniel = {
- checkThis: function() {
- console.log(this);
- function checkOther() {
- this.moo = 1;
- console.log(this);
- }
- checkOther();
- console.log(this.moo)
- }
- };
- daniel.checkThis();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement