Created
September 17, 2019 23:19
-
-
Save trycf/aa2c7ba353d9eba7191cf87808d52e37 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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