0
Return function
Iď¸ still donât get how to return command is useful? Why would you want to save the data when the program is already going to save it? Is it useful when you change the variables assignment but still want to have the original variable assignment?
2 Answers
+ 2
See the return function gives the function a value!
function Hello(){
return 12; }
whenever i call Hello() in the code it will return 12 soo..
alert(2+Hello());
And I'll get 14 since Hello()returns two!
0
Thanks Brains