Created
August 10, 2013 02:30
-
-
Save shanefulmer/6198772 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function One() { | |
this.a = function () { | |
return this.b(); | |
} | |
} | |
function b() { | |
return 1; | |
} | |
var one = new One(); | |
var f = one.a; | |
console.log(f()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment