Login
Remember
Register
Ask a Question
What is the purpose of freeze method in Javascript?
0
votes
asked
Oct 7, 2023
in
JavaScript
by
GeorgeBell
What is the purpose of freeze method in Javascript?
javascript-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 7, 2023
by
GeorgeBell
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.
...