JavaScript has many types of block, such as while
blocks, if
blocks , for
blocks. ES6 introduces block scoping, so "purely semantic", "anonymous" blocks make sense:
{ let a = 'I am declared inside a block'; }
console.log(a); // ReferenceError: a is not defined
What is the above type of block (used only for scoping) called?