-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: explained what node keyword does in terminal #39020
Conversation
doc/api/synopsis.md
Outdated
@@ -69,7 +69,7 @@ server.listen(port, hostname, () => { | |||
}); | |||
``` | |||
|
|||
Save the file, go back to the terminal window, and enter the following command: | |||
Save the file and go back to the terminal. Entering the following commands run the file named `hello-world.js`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Save the file and go back to the terminal. Entering the following commands run the file named `hello-world.js`: | |
Save the file. Then, in the terminal window, to run the `hello-world.js` file, | |
enter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(See table row for Enter
at https://docs.microsoft.com/en-us/style-guide/procedures-instructions/describing-interactions-with-ui for relevant guidelines/examples on describing user interactions like this.)
@nodejs/documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Landed in 24dea23 |
PR-URL: nodejs#39020 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #39020 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#39020 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
I found the explanation for the example to be lacking a bit of clarity so cleared it up. Changed:
Save the file, go back to the terminal window, and enter the following command:
to:
Save the file and go back to the terminal. Entering the following commands run the file named
hello-world.js
: