Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Example - filtering of arrays using closures

Explorer ,
Jun 21, 2012 Jun 21, 2012
TOPICS
Documentation
359
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 21, 2012 Jun 21, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources