Edit in JSFiddle

function First(){
    Second();
}
function Second(){
    Third();
}
function Third(){
    throw new Error();
}
First();