function init(){
    
     promptTeam()
    .then(result => {
        let {name,id,email,managerOfficeNumber} = result;
        
        // init the tam Array with a manager object
        manager = new Manager(name,id,email,managerOfficeNumber);
        addTeamMember([manager])
    });

}
// Run the whole stack of prompting functions..
Run the whole stack of prompting functions
Run the whole stack of prompting functions
function init(){
     promptTeam()
    .then(result => {
        let {name,id,email,managerOfficeNumber} = result;
        manager = new Manager(name,id,email,managerOfficeNumber);
        addTeamMember([manager])
    });
}
function init ( ) { promptTeam ( ) . then ( result => { let { name , id , email , managerOfficeNumber } = result ; manager = new Manager ( name , id , email , managerOfficeNumber ) ; addTeamMember ( [ manager ] ) } ) ; }
Run the whole stack of prompting functions..
Run the whole stack of prompting functions ..
// init the tam Array with a manager object