JavaScript question detail
What is the purpose of the freeze method
Below are the main benefits of using freeze method,
- It is used for freezing objects and arrays.
- It is used to make an object immutable.
JavaScript question detail
Below are the main benefits of using freeze method,