Skip to content

Instantly share code, notes, and snippets.

@orangexception
Created November 14, 2011 16:22
Show Gist options
  • Save orangexception/1364339 to your computer and use it in GitHub Desktop.
Save orangexception/1364339 to your computer and use it in GitHub Desktop.
Merge Arrays in ColdFusion
<cfscript>
// This gist uses underlying Java to merge arrays.
aOne= [1,2,3];
aTwo= [4,5,6];
aMerge= duplicate( aOne );
aMerge.addAll( aTwo );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment