example of a closure function
self injection of semicolon prevent previous errors

it ensures that even if there's a previous error in the page, your code
will run correctly