+ 2
how i can get the result boolean of the any function
hi comunity please you can help me, i need know how i can get the return, the result, whatever of a function and use it in other function or variable in javascript
4 odpowiedzi
+ 3
function obj(){
return 5; }
var a=obj()
//a is now 5
+ 2
A fun can also accept arguments...
function sum(b,c){
return b+c;
}
var x=3;
var y=5;
var a=sum(x,y);
alert(a)
0
thank my friend sesos
0
function funcName(gets){
return true
}