TypeError when console.log
a static property name
in class
#42773
Labels
util
Issues and PRs related to the built-in util module.
Version
v16.14.2
Platform
Linux regseblaptop 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
node -e "console.log(new class { static name = Symbol(); })"
How often does it reproduce? Is there a required condition?
The property must be
static
and calledname
.What is the expected behavior?
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: