rem: dojo.lang.reduce = function(/*Array*/arr, initialValue, /*Object|null*/obj, /*Function*/binary_func){ var reducedValue = initialValue; var ob = obj ? obj : dj_global; dojo.lang.map(arr, function(val){ reducedValue = binary_func.call(ob, reducedValue, val); 
add: reduce: function(/*Array*/arr, initialValue, /*Object|Function*/obj, /*Function*/binary_func){               var reducedValue = initialValue; if(arguments.length == 1){ dojo.debug("dojo.lang.reduce called with too few arguments!"); return false; }else if(arguments.length == 2){ binary_func = initialValue; reducedValue = arr.shift(); }else if(arguments.lenght == 3){ if(dojo.lang.isFunction(obj)){ binary_func = obj; obj = null; } }else{     if(dojo.lang.isFunction(obj)){ var tmp = binary_func; binary_func = obj; obj = tmp; } 
context: dojo.lang.reduce = function(/*Array*/arr, initialValue, /*Object|null*/obj, /*Function*/binary_func){	var reducedValue = initialValue;	var ob = obj ? obj : dj_global;	dojo.lang.map(arr, 		function(val){			reducedValue = binary_func.call(ob, reducedValue, val);		}	);	return reducedValue;}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/array.js/clean/www/resources/dojo-ajax/src/lang/array.js