function namespace(oNamespace, sPackage) { const ssp=sPackage.split('.'); function chack(on){ if(ssp.length==0){ return } let sp=ssp.shift() if(typeof on !== 'object' || Array.isArray(on)){ on[sp]={} }else if(!(sp in on)){ ...