I'm new to dev and would like to know how to pass a parameter via function. For example:
function hello(name) {
console.log("hello " + name);
}
hello("Fulano");
If I run node hello , it will return "Hello So-and-so."
However, I would like to pass the parameter along with the function. That is, I want to run node hello so-and-so and I want it to return me "Hello So-and-so." How to proceed?