Created
July 23, 2013 05:46
-
-
Save ritalin/6060121 to your computer and use it in GitHub Desktop.
Closure function by PowerShell
This file contains hidden or 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 o() { | |
$i = 20 | |
function fun_i() { return $i } | |
return fun_i | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment