FrontendInterviews.dev

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?

Select an option and submit your answer.
Next Problem