From 02944a6783b55f30d1c96ce98cfa6cb628586134 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Mon, 6 Jun 2022 12:51:27 -0600 Subject: [PATCH] doc: fix typo in util.parseArgs usage example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/43332 Reviewed-By: Luigi Pinca Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Tobias Nießen Reviewed-By: Darshan Sen Reviewed-By: LiviaMedeiros --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index 9d5201adfcc9a7..fafc54c3fadbfe 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