Created
September 27, 2019 20:21
-
-
Save trycf/8f0b2d5d4e1c8abb2fe6335f47680427 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> | |
things = ["apples","oranges","rocks","jets","developers"]; | |
formattedList = things.reduce((list,current)=> | |
"#list#<li>#current#</li>" | |
,"<ul>") & "</ul>"; | |
writeDump( | |
formattedList | |
); | |
writeOutput( | |
formattedList | |
); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment