Medium-Easy Understand JavaScript Fundamentals Multiple Choice
What does Object.freeze do?
Understand — Tests comprehension and ability to explain concepts.
Answer Options
A Makes all properties non-writable/non-configurable and prevents adding new ones
B Makes the variable binding constant like const
C Prevents prototype modification only
D Deeply freezes nested objects recursively
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 34+ more JavaScript Fundamentals questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the JavaScript Fundamentals topic (Programming Languages).