psuedo-pausing execution with setTimeout console.log( 'before pause' ); setTimeout( function() { console.log( 'after pause' ); }, 10000);