Skip to content

Commit fac822c

Browse files
zmodemmarijnh
authored andcommitted
Ch. 20: "node commands" -> "node command"
1 parent 4882cfa commit fac822c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

20_node.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ an error (any other code).
180180

181181
(((command line)))(((argv property)))To find the command-line arguments given to
182182
your script, you can read `process.argv`, which is an array of
183-
strings. Note that it also includes the name of the `node` commands
183+
strings. Note that it also includes the name of the `node` command
184184
and your script name, so the actual arguments start at index 2. If
185185
`showargv.js` simply contains the statement
186186
`console.log(process.argv)`, you could run it like this:

0 commit comments

Comments
 (0)