Closed towerofnix closed 5 months ago
This actually causes a syntax error, presumably in Prettier or such:
SyntaxError: Constructor can't be a generator. (29:11) 27 | 28 | > 29 | * constructor() { | ^ 30 | this.say("Oopsie") 31 | } 32 |
Spooky! "constructor" needs to be a reserved word.
"constructor"
This actually causes a syntax error, presumably in Prettier or such:
Spooky!
"constructor"
needs to be a reserved word.