Why is the return
statement not producing any output or errors?
I've tested it on Chrome, Firefox, and repl.it.
Here's the code snippet in question:
//Function that returns the product of two numbers
function multiply(num1, num2){
return num1 * num2;
}
//Calling the function
multiply(10,20 );
No outputs or errors are observed.