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/aa2c7ba353d9eba7191cf87808d52e37 to your computer and use it in GitHub Desktop.
Save trycf/aa2c7ba353d9eba7191cf87808d52e37 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
order = {"id":1234,"customer_id":333,"total":1000.00};
result = addSomething(order);
writeDump([
order,
result
]);
function addSomething(struct data ){
data["a"] = "Something";
//data = "Something";
return data;
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment