FrontendDeveloper.in

JavaScript question detail

What is the purpose of the freeze method

Below are the main benefits of using freeze method,

  1. It is used for freezing objects and arrays.
  2. It is used to make an object immutable.
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399