title: Use of hoisting for the variables created by 'let' in javascript?
body: <p>I am learning JavaScript. I understood that variables created by 'let' are hoisted (as variables created by 'var') but those are not available to use until control hits the initialization statement because of temporal dead zone. If we can't use the variables, what is the need of hoisting those variables?</p>