>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Which function checks whether a property belongs directly to an object rather than its prototype chain? | SWE Maxx
← Question bank
JavaScript · Multiple Choice
Difficulty: Medium
Which function checks whether a property belongs directly to an object rather than its prototype chain?
Objects
Object model
Choose your answer
A
Object.create
B
Object.entries
C
Object.hasOwn
D
Object.keys
Check answer
More in JavaScript →