Skip to content

Commit

Permalink
JS Reference for Sets: Fix broken internal link to set methods (#31447)
Browse files Browse the repository at this point in the history
* JS Reference on Sets: Fix internal link

* Update files/en-us/web/javascript/reference/global_objects/set/index.md

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
cristi-contiu and Josh-Cena authored Jan 1, 2024
1 parent 4bddde3 commit db9d4a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To make them more generalizable, these methods don't just accept `Set` objects,

### Set-like objects

All [set methods](#set_methods) require {{jsxref("Operators/this", "this")}} to be an actual `Set` instance, but their arguments just need to be set-like. A _set-like object_ is an object that provides the following:
All [set composition methods](#set_composition) require {{jsxref("Operators/this", "this")}} to be an actual `Set` instance, but their arguments just need to be set-like. A _set-like object_ is an object that provides the following:

- A {{jsxref("Set/size", "size")}} property that contains a number.
- A {{jsxref("Set/has", "has()")}} method that takes an element and returns a boolean.
Expand Down

0 comments on commit db9d4a1

Please sign in to comment.