Created
March 20, 2015 16:26
-
-
Save displague/ec26085347b693924054 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
<pre> | |
<cfscript> | |
function x() { | |
z = "1"; | |
y(); | |
} | |
function y() { | |
writeOutput("child sees " & z & "<br>"); | |
} | |
x(); | |
writeOutput("parent sees: " & z & "<br>"); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment