function myExtend(a1,a2){ if(typeof a2=='object')for(var i in a2){ if(!CAE(a1,i))a1[i]=a2[i] else a1[i]=myExtend(a1[i],a2[i]) } return a1 }