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/e62da48609338c35538ec1b8fc271225 to your computer and use it in GitHub Desktop.
Save trycf/e62da48609338c35538ec1b8fc271225 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
function brokenStructEach( first, second, third ) {
writeDump( var= arguments, label= 'arguments scope' );
structEach( arguments, function( key, value, struct ) {
writeDump( var= arguments.key ?: 'key null', label= 'arguments key' );
writeDump( var= arguments.value ?: 'value null', label= 'arguments value' );
});
}
writeDump( brokenStructEach( "Jordan", { "name"= "Jordan" } ) );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment