Skip to main content
Version: 3.27.2

Object.isFrozen()

The Object.isFrozen() determines if an object is frozen.

Syntax

Object.isFrozen(obj)

Parameters

  • obj
    • : The object which should be checked.

Return value

A Boolean indicating whether or not the given object is frozen.

Description

An object is frozen if and only if it is not extensible, all its properties are non-configurable, and all its data properties (that is, properties which are not accessor properties with getter or setter components) are non-writable.