Function call


#1

how can i call getting function ?

var calculate = function (number) {
var val = number * 10;
console.log(val);
};

var greeting =function (name) {
console.log(geeting) ;
}


#2

a function call is the function name + parentheses, the parentheses contain the arguments, for example:

var example = function(parameter){
   console.log(parameter);
}
// function call below
example("calling functions")

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.