Created
August 2, 2022 15:47
-
-
Save trycf/3cf29ac9c88c9d79bee836efcea6f169 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> | |
a =1; | |
dump(var=a, label="before"); | |
function test( a ){ | |
dump(var=a, label="a"); | |
dump(var=arguments.a, label="arguments.a"); | |
arguments.a=2; | |
dump(a); | |
} | |
test(a); | |
dump(a); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment