Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/91bbc6e1666891eac735e0b24f5171c7 to your computer and use it in GitHub Desktop.
Save trycf/91bbc6e1666891eac735e0b24f5171c7 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
function closureArgumentCollection(a,b){
closureFunction = function(argumentCollection=arguments){ // When using argument collection in function declare, it makes argumentCollection key in argument scope
writeDump(arguments);
}
closureFunction();
}
closureArgumentCollection(1,2)
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment