function get_data (){
function _init (){
console.log('success');
}
return {
init : _init(),
}
};
const data = get_data();
document.addEventListener('DOMContentLoaded', function() {data.init});
const data = function (){
function _init (){
console.log('success');
}
return {
init : _init(),
}
};
document.addEventListener('DOMContentLoaded', function() {data.init});