0
Example - filtering of arrays using closures
Explorer
,
/t5/coldfusion-discussions/example-filtering-of-arrays-using-closures/td-p/4299068
Jun 21, 2012
Jun 21, 2012
Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d31851842acbba1353e848b35-7ff5.htm...
TOPICS
Documentation
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Beginner
,
LATEST
/t5/coldfusion-discussions/example-filtering-of-arrays-using-closures/m-p/4299069#M146733
Jun 21, 2012
Jun 21, 2012
Copy link to clipboard
Copied
Example 1
component displayname="ColdFusion Closure Example" output="false" accessors="true"
{
.....
}
Example 3
The variable componentArray is not used in the code.
Typo: whos -> whose
filteredArray = obj.filterArray(obj.getEmployee(), closure(a) should be filteredArray = obj.filterArray(obj.getEmployee(), function(a).
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

