diff options
author | Michael Ficarra <github@michael.ficarra.me> | 2022-06-06 21:51:27 +0300 |
---|---|---|
committer | LiviaMedeiros <livia@cirno.name> | 2022-06-07 18:49:06 +0300 |
commit | aba2cd74dce406da2f3dcf6a2bd08d9552fa3671 (patch) | |
tree | beb9e651bc69243b3925bf8966626fda758548ee | |
parent | ac2c082f63e312d5685542b239d5e2d21be6a08b (diff) |
doc: fix typo in util.parseArgs usage example
PR-URL: https://github.com/nodejs/node/pull/43332
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
-rw-r--r-- | doc/api/util.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/util.md b/doc/api/util.md index 9d5201adfcc..fafc54c3fad 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1094,7 +1094,7 @@ const { positionals } = parseArgs({ args, options }); console.log(values, positionals); -// Prints: [Object: null prototype] { foo: true, bar: 'b' } []ss +// Prints: [Object: null prototype] { foo: true, bar: 'b' } [] ``` `util.parseArgs` is experimental and behavior may change. Join the |