Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/b61f74fdeadc95ae44fc2e23035c5c25 to your computer and use it in GitHub Desktop.
Save trycf/b61f74fdeadc95ae44fc2e23035c5c25 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
i=[1,2,3,4,5];
i.append([6,7], true);
writeDump(i);
i=[1,2,3,4,5];
i.append([6,7], false);
writeDump(i);
i=[1,2,3,4,5];
i.push([6,7]); // Works the same as append(..., false);
writeDump(i);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment