var i = “Hello world;

var y = “Hello”;

var x = y + ‘ World!’;

console.log(x);

In the above example, the first statement – var i = “Hello world; – is missing a closing speech mark, and would break the execution of the entire script. That is to say that when the browser reaches that part of the JavaScript file, it would stop executing, so any subsequent lines of code would not be executed or even read. To fix our code again we could simply comment out the line and our code would execute again, like so: