doc: remove remaining uses of `@@wellknown` syntax · nodejs/node@7acac70 · GitHub
Skip to content

Commit 7acac70

Browse files
Renegade334targos
authored andcommitted
doc: remove remaining uses of @@wellknown syntax
PR-URL: #58413 Refs: tc39/ecma262#1314 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent a57b05e commit 7acac70

3 files changed

Lines changed: 36 additions & 31 deletions

File tree

doc/api/url.md

Lines changed: 2 additions & 2 deletions

doc/api/util.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,8 @@ The `util.inspect()` method returns a string representation of `object` that is
973973
intended for debugging. The output of `util.inspect` may change at any time
974974
and should not be depended upon programmatically. Additional `options` may be
975975
passed that alter the result.
976-
`util.inspect()` will use the constructor's name and/or `@@toStringTag` to make
977-
an identifiable tag for an inspected value.
976+
`util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
977+
property to make an identifiable tag for an inspected value.
978978

979979
```js
980980
class Foo {
@@ -1884,7 +1884,7 @@ console.log(params.toString());
18841884

18851885
Returns an iterator over the values of each name-value pair.
18861886

1887-
### `mimeParams[@@iterator]()`
1887+
### `mimeParams[Symbol.iterator]()`
18881888

18891889
* Returns: {Iterator}
18901890

doc/contributing/primordials.md

Lines changed: 31 additions & 26 deletions

0 commit comments

Comments
 (0)