if(dojo.lang.isFunction(obj)&&(!_304)){ _304=obj; obj=dj_global; }else{ if(dojo.lang.isFunction(obj)&&_304){ var _306=obj; obj=_304; _304=_306; } } if(Array.map){ var _307=Array.map(arr,_304,obj); }else{ var _307=[]; for(var i=0;i<arr.length;++i){ _307.push(_304.call(obj,arr[i])); } } if(_305){ return _307.join(""); }else{ return _307; } }; 
dojo.lang.map = function(/*Array*/arr, /*Object|Function*/obj, /*Function?*/unary_func){  var isString = dojo.lang.isString(arr);  if(isString){    // arr: String    arr = arr.split("");  }  if(dojo.lang.isFunction(obj)&&(!unary_func)){    unary_func = obj;    obj = dj_global;  }else if(dojo.lang.isFunction(obj) && unary_func){    // ff 1.5 compat    var tmpObj = obj;    obj = unary_func;    unary_func = tmpObj;  }  if(Array.map){    var outArr = Array.map(arr, unary_func, obj);  }else{    var outArr = [];    for(var i=0;i<arr.length;++i){      outArr.push(unary_func.call(obj, arr[i]));    }  }  if(isString) {    return outArr.join(""); // String  } else {    return outArr; // Array  }}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js