This file contains hidden or 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
    
  
  
    
  | var get_info = function(list_id, callback) { | |
| // do something and callback with list_info for list_id; | |
| callback(null, list_info); | |
| }; | |
| var list = [1,2,3,4,5]; | |
| for(var i = 0; i < list.length; i++) { | |
| var list_id = list[i]; | |
| get_info(list_id, (function(binded_list_id) { | |
| return function (error, list_info) { |