Created
June 20, 2022 22:18
-
-
Save trycf/20c782c6cc20774e05cb561f8714e58d to your computer and use it in GitHub Desktop.
TryCF Gist
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
<cfscript> | |
str = 'wassup'; | |
TestVarScoping(); | |
function TestVarScoping() { | |
novar = 'hello'; | |
var withvar = 'hey'; | |
dump(label="Local", var=Local); | |
} | |
dump(label="Variables", var=Variables); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment