Skip to content

Instantly share code, notes, and snippets.

@vgaltes
Created March 29, 2015 15:31
Show Gist options
  • Save vgaltes/79f0c18cf1ebb63b71bb to your computer and use it in GitHub Desktop.
Save vgaltes/79f0c18cf1ebb63b71bb to your computer and use it in GitHub Desktop.
This example 2
<script>
var aObject = {
aFunction: function(){
console.log(this);
var anotherFunction = function(){
console.log(this);
var yetAnotherFunction = function(){
console.log(this);
}();
}();
}
}
aObject.aFunction();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment