Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created Nov 6, 2018
Embed
What would you like to do?
var blogger = {
name: 'Dawid',
website: 'codejourney.net',
aboutMe: function(){
function innerFunc(){
console.log(this);
}
innerFunc();
}
}
blogger.aboutMe(); // (!!!) prints: Window {postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, parent: Window, …}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment