1) Installing Node.js:
Open the visual studio code editor & create a new file
script.js. If you haven’t installed the visual studio code you can install it from the official website of visual studio code
node command with the file name.
script.js. You can use your file name. After running you will see the output
"John doe" in the terminal.
Thanks for reading I hope you understood