Created
September 6, 2019 15:10
-
-
Save trycf/90fff62920d82171a1ae7011825d04d1 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> | |
listData = ["apples","oranges","rocks","jets","developers"]; | |
// Higher Order Function Example: arrayFilter | |
// ACF Friendly | |
writeDump( | |
listData.filter( function( item ){ | |
return item contains "es"; | |
}) | |
); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment