Anyone else bothered by the utter lack of semicolons in the example code? :D
This subtlety is being obsoleted by ES modules & the build tooling around them, but it is a nasty bug that has sucked many an hour away from frontend devs whenever it is encountered.