Despite the large number of events JavaScript provides out of the box
for a whole bunch of scenarios, there will be times when you want
to fire your own events for your own particular needs:
This is a nice and clear explanation of the syntax but after reading this and a couple of other articles about custom events around the web I still feel unsure of why they’re useful and in what situations it would be sensible to use one.