There is a semi-colon if you include this script immediately after some "bad" script that incorrectly closes its last line with a colon. In this case, it is possible that the two scripts will be combined and result in invalid code. For example, if you combine several scripts into one answer.
Function () at the end performs a function. This creates a closure. Private variables and methods can be declared as part of this function, which cannot be accessed from outside the script.
James Gaunt Aug 22 2018-11-11T00: 00Z
source share