I'm trying to trigger 3 functions one after another. When each completes, next starts my code :-
getInfo(f1 , f2).then(function() {
setInfo().then(function(callback) {
Three();
});
});
i get this error :-
>TypeError: Cannot read property 'then' of undefined
Update
function setInfo(){
alert('done')
}