Created
September 14, 2018 10:10
-
-
Save trycf/694e73a66cdb9981174bbec5b0208c7c 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> | |
// from https://cfml.yakhnov.info/global-and-local-variables-warning/ | |
var a = 123; | |
function test() { | |
a = []; | |
return nullValue(); | |
} | |
a = test(); | |
dump(a); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment