Created
August 14, 2014 03:05
-
-
Save pushcx/1b0d194cc586484d8d3d 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
/* | |
Closures as Family | |
Hi, I'm Peter Harkins - @pushcx | |
notes will be online at http://gist.github.com/pushcx | |
*/ | |
function mom() { | |
var necktie = { ... }; | |
function peter() { | |
wear(necktie); | |
} | |
} | |
function busha() { | |
var meatloaf = [ ... ]; | |
function mom() { | |
function peter() { | |
cook(meatloaf); | |
} | |
} | |
} | |
function mom() { | |
var programming_language = "cobol"; | |
function peter () { | |
programming_language = "ruby"; | |
var programming_language = "ruby"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment