how to make a function which returns value as per request parameter code example
Example: function and returns node js
function hello(name) {
console.log("hello " + name);
}
hello("CSS");
//hello CSS
function hello(name) {
console.log("hello " + name);
}
hello("CSS");
//hello CSS