MCQs>IT & Programming>JavaScript>In relation to sealing an object globally, which methods returns true if adding, removing, and changing properties is forbidden and all the current properties are configurable: false, writable: false?
JavaScript MCQs
In relation to sealing an object globally, which of the following methods returns true if adding, removing, and changing properties is forbidden and all the current properties are configurable: false, writable: false?
Answer
Correct Answer: Object.isFrozen(obj)
Explanation:
Note: This Question is unanswered, help us to find answer for this one