Skip to content

Commit 17c7ffb

Browse files
cubuspl42Josh-Cena
andauthored
Fix a typo (#40752)
* Fix a typo * Fix another --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
1 parent 5fe2dbd commit 17c7ffb

File tree

2 files changed

+2
-2
lines changed
  • files/en-us/web/javascript/reference
    • errors/key_not_weakly_held
    • global_objects/finalizationregistry/register

2 files changed

+2
-2
lines changed

files/en-us/web/javascript/reference/errors/key_not_weakly_held/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page-type: javascript-error
55
sidebar: jssidebar
66
---
77

8-
The JavaScript exception "WeakSet key (or WeakMap value) 'x' must be an object or an unregistered symbol" occurs when an value of invalid type is used as a key in a {{jsxref("WeakSet")}} or as a value in a {{jsxref("WeakMap")}}.
8+
The JavaScript exception "WeakSet key (or WeakMap value) 'x' must be an object or an unregistered symbol" occurs when a value of invalid type is used as a key in a {{jsxref("WeakSet")}} or as a value in a {{jsxref("WeakMap")}}.
99

1010
## Message
1111

files/en-us/web/javascript/reference/global_objects/finalizationregistry/register/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ browser-compat: javascript.builtins.FinalizationRegistry.register
77
sidebar: jsref
88
---
99

10-
The **`register()`** method of {{jsxref("FinalizationRegistry")}} instances registers an value with this `FinalizationRegistry` so that if the value is garbage-collected, the registry's callback may get called.
10+
The **`register()`** method of {{jsxref("FinalizationRegistry")}} instances registers a value with this `FinalizationRegistry` so that if the value is garbage-collected, the registry's callback may get called.
1111

1212
## Syntax
1313

0 commit comments

Comments
 (0)