All interview questionsIn JavaScript, give an example of block scope.IntermediateAnswerA loop variable declared with let is scoped to the loop.