Skip to content

Commit

Permalink
doc: fix typo in util.parseArgs usage example
Browse files Browse the repository at this point in the history
PR-URL: #43332
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
  • Loading branch information
michaelficarra authored and LiviaMedeiros committed Jun 7, 2022
1 parent ac2c082 commit aba2cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aba2cd7

Please sign in to comment.