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...
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).