Skip to content

Commit

Permalink
Minor fix to the page of WeakSet constructor (mdn#30031)
Browse files Browse the repository at this point in the history
Update index.md
  • Loading branch information
JasonLamv-t authored Nov 4, 2023
1 parent c788113 commit d6f9267
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ new WeakSet(iterable)
### Parameters

- `iterable` {{optional_inline}}
- : If an [iterable object](/en-US/docs/Web/JavaScript/Reference/Statements/for...of) is passed, all of its elements will be added to the new
`WeakSet`. null is treated as undefined.
- : If an [iterable object](/en-US/docs/Web/JavaScript/Reference/Statements/for...of) is passed, all of its elements will be added to the new `WeakSet`. `null` is treated as `undefined`.

## Examples

Expand Down

0 comments on commit d6f9267

Please sign in to comment.