You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class X { constructor() { throw "broken" }}
undefined
let b = new X()
Thrown: broken
b=1
ReferenceError: b is not defined
let b = 1
SyntaxError: Identifier 'b' has already been declared
Expected to be able overwrite b with "b=11" or redefine b with "let b=1".
The text was updated successfully, but these errors were encountered:
Version: v8.11.4, v10.9.0
Platform: all
$ node
Expected to be able overwrite b with "b=11" or redefine b with "let b=1".
The text was updated successfully, but these errors were encountered: