MediumJavaScript & TypeScriptMultiple Choice

What does Object.freeze() do?

Tests your understanding of this concept.

Answer Options

APrevents new properties from being added
BMakes an object completely immutable (no add, delete, or modify)
CFreezes the garbage collector
DLocks the prototype chain

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more JavaScript & TypeScript questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the JavaScript & TypeScript topic (Programming Languages).

More JavaScript & TypeScript Questions