Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
Private fields
Which statement about Object.freeze(instance) and private fields is correct?
from Private fields
Node 24
intermediate
1 min
Which statement about Object.freeze(instance) and private fields is correct?
A class method may still reassign a private field because freeze governs ordinary own properties.
The call converts every private field into a non-writable property.
The call removes the private brand from the instance.
The call makes Reflect.ownKeys return private names.
Check
Ask AI about this kata
Report an error
previous kata
What does calling the inherited static method print?
Predict the output
next kata
Review a generated profile store
Review AI code
A new version is available
Reload