Déclarer la variable JSON dans un autre fichier

otherfile.js
(function(){
	
	 Time = {a:"AAAAAAA", b:function(){alert("BBBBBBB")}  }
	
})()

thisfile.js
console.log(Time.a)
Javasper