A.define(function(){ var sayHello = function(){ alert('sayHello') } return sayHello var sayBye = function(){ alert('sayBye') } return sayBye })
B.define(function(){ var sayBye = function(){ alert('sayBye') } return sayBye var sayHello = function(){ alert('sayHello') } return sayHello })
C.define(function(){ var sayBye = function(){ alert('sayBye') } var sayHello = function(){ alert('sayHello') } return ['sayBye','sayHello'] })
D.define(function(){ var sayHello = function(){ alert('sayHello') } var sayBye = function(){ alert('sayBye') } return { sayHello:sayHello, sayBye:sayBye } })