Question 6
Back to Exercise
Which operation is allowed on a sealed object but not on a frozen one?
- A Adding a new property
- B Deleting a property
- C Changing the value of an existing property Correct
- D None – they are identical
Correct Answer: Option C
seal fixes the set of properties but leaves them writable; freeze also makes them read-only.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!