Browsing Category

Javascript

"return" can return a value to the caller. To call a function, use "function-name (argument);" Ex Output 3+5=8 Explanation: "add( 3, 5)" means that it calls the function add (num1,num2){ }, and pass the argument "3,5" to var num1 and num2. "return num1+num2" returns
Read More...