but I can’t think of a situation where I’d prefer `var` over `let`
JavaScript ES6+: var, let, or const?
Eric Elliott

what about “try/catch”? you can use var inside `try` and this variable will be accessible outside the block. But with “const/let” you have to write extra line.

Like what you read? Give Цымбал Евгений a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.