0 votes
in JavaScript by
What is the purpose of freeze method in Javascript?

1 Answer

0 votes
by

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.
...