Skip to content

Commit

Permalink
Add link to Object.seal() in introduction to Object.isSealed() (#32750)
Browse files Browse the repository at this point in the history
* Add link to Object.seal() in introduction.

> User: "What does `Object.isSealed()` do?"
> Bad answer: "why, it tells you if it's sealed, duh!" 
> Good answer: "Oh, you want the article on `Object.seal()`, here you go."

* actually define Object Seal in the introduction of Object.isSealed()

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>

* Update index.md

---------

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
3 people authored Mar 22, 2024
1 parent 4eb24bd commit 2ae5490
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ browser-compat: javascript.builtins.Object.isSealed

{{JSRef}}

The **`Object.isSealed()`** static method determines if an object is
sealed.
The **`Object.isSealed()`** static method determines if an object is [sealed](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal).

{{EmbedInteractiveExample("pages/js/object-issealed.html")}}

Expand Down

0 comments on commit 2ae5490

Please sign in to comment.