Take a look at the following line of code:
var h1 = <h1>Hello world</h1>;
var = and ends with
;. If you tried to run that in an HTML file, it wouldn't work.
However, the code also contains
What's going on?