return
Return statement finishes function execution and can output a value.
function foo(a, b){
return a + b;
}
copy
Return statement finishes function execution and can output a value.
function foo(a, b){
return a + b;
}
copy