'Javascript - What is the function of Curly Brackets { } without a declaration?

When a piece of code has { } without any sort of declaration - what is it's function?

{
  ...code here...
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source