Created
November 9, 2017 19:00
-
-
Save noedlm/93d07d5c715d5891b777e1309d9ce0ad to your computer and use it in GitHub Desktop.
Coldfusion: Perks of iterating through structures and arrays using .each()
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
struct = { | |
fieldA = "A", | |
fieldB = "B", | |
fieldC = "C" | |
}; | |
struct.each(function(key, value) { | |
writeOutput(key & " = " & value); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment