function complicatedCalculation(a, b, callback) {
    var res = a + b;
    console.log('Complicated calculation finished!');
    callback(res);
  }
// Insert a textInput after a complicated calculation

Insert a textInput after a complicated calculation
Insert a textInput after a complicated calculation
function complicatedCalculation(a, b, callback) {
    var res = a + b;
    console.log('Complicated calculation finished!');
    callback(res);
  }
function complicatedCalculation ( a , b , callback ) { var res = a + b ; console . log ( 'Complicated calculation finished!' ) ; callback ( res ) ; }
Insert a textInput after a complicated calculation
Insert a textInput after a complicated calculation