FrontendDeveloper.in

JavaScript Track Detail

What are the applications of the seal method

Below are the main applications of Object.seal() method,

  1. It is used for sealing objects and arrays.
  2. It is used to make properties of an object non-configurable.