// invoke some function (function First(){ // that invokes some function (function Second(){ // that invokes some functions and errors (function Third(){ throw new Error(); })(); })(); })();