﻿function first(){
  setTimeout( function(){
     console.log(1);
  }, 500 );
}//end of function
function second(){
  console.log(2);
}//end of function
first();
second();