The objSeal() method seals an object, preventing new properties from being added to it and marking all existing properties as non-configurable. Values of present properties can still be changed as long as they are writable.

  • Type Parameters

    • T

    Parameters

    • value: T

      The object which should be sealed.

    Returns T

    The object being sealed.