Object Sealing Lab: Object.seal() with JavaScript

In this lab, you will learn about using Object.seal() method in JavaScript to prevent new properties from being added to an object, and to prevent existing properties from being removed. You have to create a simple object named user with two properties, name and age. The object should then be sealed using the Object.seal() method. Finally, export a function that checks if a given object is sealed by using the Object.isSealed() method.

Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser