How can I convert to make ES6
var DataStore = (function(){
// Item constructor
return {
// test
}
})();
var UIControl = (function(){
return {
// ui
}
})();
var EventControl = (function(DataStore, UIControl){
return {
// ui
int: function(){
console.log("GeekEducation");
}
}
})(DataStore, UIControl);
// call
EventControl.int();
**// How can I convert ES6**
1. *Hi I'm new here on Stackoverlow I need help how can I convert to make es5 module to the es6 module*