Medium-EasyUnderstandJavaScript FundamentalsMultiple Choice

What does Object.freeze do?

Understand Tests comprehension and ability to explain concepts.

Answer Options

AMakes all properties non-writable/non-configurable and prevents adding new ones
BMakes the variable binding constant like const
CPrevents prototype modification only
DDeeply 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).

More JavaScript Fundamentals Questions