Frontend
Interviews
.dev
Problems
680. Null Prototype hasOwnProperty Missing
Easy
•
...
Predict the output.
const
obj
=
Object
.
create
(
null
)
console
.
log
(
typeof
obj
.
hasOwnProperty
)
What is printed in the console?
function
undefined
object
string
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer