TypeScriptObjectObject.freeze

Freezes an object so that no new properties can be added or removed.

문법

Object.freeze(obj): Readonly<T>