In JavaScript, by definition a block is defined by a pair of curly brackets, but are parenthesis also considered as blocks?
for (var i = 0; i < 5; i++) {
//some code
}
console.log(i) // outputs 5;
for (let j = 0; j < 5; j++) {
//some code
}
console.log(j) // ReferenceError