When using "return" in Jscript is it's purpose if used in a function to write something back ? Instead of explaining here is a piece of code.
function apple() {
var one = "Hello";
var two = "Orange";
var total = One+Two;
return total;
}
document.write(total);
Shouldn't the write command be writting the combined scrings of both variables one & two based from the return value ?