Block scope is an important concept in JavaScript. It means that a variable can be accessed only inside the block where it is declared. A block is usually written using curly braces { } .
Source: [Dev.to](https://dev.to/abishek_m_82/block-scope-in-javascript-3ijc)