JavaScript Object Interview Questions – JavaScript Object Online Quiz

Question 1:  What is the correct syntax to create a new object in JavaScript?

Question 2:  How do you access the property 'name' of an object 'person'?

Question 3:  What does typeof return when called on an object?

Question 4:  Which method converts a JavaScript object to a JSON string?

Question 5:  How can you delete a property from an object?

Question 6:  Which method is used to check if an object has a specific property?

Question 7:  What will Object.keys(obj) return?

Question 8:  What is the result of obj === obj?

Question 9:  Which of the following creates an object with no prototype?

Question 10:  How do you add a new property age with value 25 to an object person?

Leave a Reply