var conf={
next:{
utmbuilder:async function(){
setTimeout(function(){
console.log(1);
},3000);
},
advanced:async function(){
},
usetemplate:async function(){
},
qrcode:async function(){
},
history:async function(){
},
stats:async function(){
},
bookmark:async function(){
}
}
};
async function next(tp){
await conf.next[tp]();
}
next(chapter);
console.log(2);