'Does let a = {} create a new scope?

From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/block :

this creates a new block scope

{
  StatementList
}

For let a = { }; Is a new scope created inside the surrounding curly braces?



Sources

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

Source: Stack Overflow

Solution Source