ASYNC & NON-BLOCK LANGUAGE Using below website we can check how javascript is working and understand why its async and non block http://latentflip.com/loupe/ PROGRAM TO CHECK console . log ( '1.start' ) setTimeout ( function (){ console . log ( '2.After 1 sec' )}, 1000 ) setTimeout ( function (){ console . log ( '3.After 0 sec' )}, 0 ) console . log ( '4.Stop' ) To change this Non-Block mode to Block mode we can use Call Back Call Back Hell -- Multi nested callback