Why do these snippets of JavaScript behave differently even though they both encounter an error? Why do these snippets of JavaScript behave differently even though they both encounter an error? javascript javascript