get value of function javascript code example
Example 1: js function
function name(parameter1, parameter2, parameter3) {
// what the function does
}
Example 2: function and returns node js
function hello(name) {
console.log("hello " + name);
}
hello("CSS");
//hello CSS