I have different functions which return values; So i created different function to sum both values.
function result(){
var result = firstFunct() + secondFunct();
alert(result);
return result;
}
And it gives for me a result like joint of two strings: 1010 instead 20. What kind of operator do I need to use two sum both of them?
alert()function, but the result.result) with the same name as the function.