return
does not finish the function execution with condition expression
#2596
Labels
return
does not finish the function execution with condition expression
#2596
Basically, the
return
keyword finishing the function execution.In below example, the function will output
"c"
after passing thereturn null
.Output:
Fiddle
The text was updated successfully, but these errors were encountered: