If the browser is executing JavaScript on a web page and it encounters invalid JavaScript (e.g. somerandomthingy;) Does execution of JavaScript stop at that point, or do async o
No code is executed past the error.
function inAFunction(){ alert("one"); x = y; alert("two"); } inAFunction();
you will see "one" but not "two"
alert("one"); x = y; alert("two");
var a = { b : c } alert("here");
you will see nothing.