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
/
Objects and prototypes
For an ordinary constructable function C and const value = new C(), which relationship no…
from Objects and prototypes
Node 24
intermediate
1 min
For an ordinary constructable function C and const value = new C(), which relationship normally holds?
Object.getPrototypeOf(value) === C.prototype
Object.getPrototypeOf(C) === C.prototype
value.prototype === C
C.prototype === Function.prototype
Check
Ask AI about this kata
Report an error
previous kata
What flags does Object.defineProperty(record, 'id', { value: 7 }) give the new property?
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload