js how to return each parameter code example
Example 1: function and returns node js
function hello(name) {
console.log("hello " + name);
}
hello("CSS");
//hello CSS
Example 2: parameters in javascript
function myFunction(x, y) {
if (y === undefined) {
y = 2;
}
}