0
What is function return and how to use it?
1 Answer
+ 1
the function behaves like the value itself it returns.
return is output of function
it is the result of codes
see previous posts
for example var a=6;. a is 6
var b=a;. b is 6;
var c=func(a) c is 7
where func(a){ return a+1;}