Chrome 80 brings support for let and class redeclarations in the Console
Vishnu Damwala
Posted on April 3, 2020
Google Chrome browser built upon the open-source Chromium browser project manage and maintained by Google.
With the release of Chrome 80 version, now developers can redeclare with let and class in the console.
The inability to redeclare using let and class was a common annoyance amongst web developers who experiment new JavaScript code in the Console.
The Console now supports redeclarations of let and class statements.
Note: Redeclaring a let or class statement in a script outside of the Console or within a single Console input will still cause a SyntaxError.
The versions prior to Chrome 80, would throw an error when redeclaring a local variable with let in the Console
Example of the let redeclaration in the Console of Chrome 80:
Image Credit:
Google Chrome Updates
💖 💪 🙅 🚩
Vishnu Damwala
Posted on April 3, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.