Closed
Bug 1257175
Opened 8 years ago
Closed 8 years ago
Console prevents let re-declaration even when first was an error
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox48 affected)
RESOLVED
DUPLICATE
of bug 1257088
Tracking | Status | |
---|---|---|
firefox48 | --- | affected |
People
(Reporter: jorendorff, Unassigned)
References
(Blocks 1 open bug)
Details
+++ This bug was initially created as a clone of Bug #1246215 +++ STR: 1. Try this in the console: let bob = Marth.PI; ReferenceError: Marth.PI is not defined let bob = Math.PI; SyntaxError: redeclaration of let bob Expected: I would like to be able to redeclare `bob` successfully with `let bob = Math.PI` since the first attempt contained a ReferenceError. Actual: Redeclaration fails with a SyntaxError.
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Keywords: dev-doc-needed
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•