2

Doing F; class F{} on the chrome console gives a reference error (F is not defined), but after that, doing class F{} again yields Identifier 'F' has already been declared, while F; yields a reference error (even typeof F gives a reference error!).

Is this a bug or intended behaviour?

enter image description here

YoTengoUnLCD
  • 600
  • 7
  • 15

0 Answers0