Cannot redeclare block-scoped variable. The Reason behind the error and the way to resolve it. Few days back I was trying to write a script in my Visual Studio Code IDE, where I was trying to declare and initialize a variable with the keyword let. [...] December 30, 2019