0
Function return
When I use return in function doesn't show result But it show if I use another way console. log alert... etc https://code.sololearn.com/Wv48USfBHnh5/?ref=app
2 Answers
+ 9
Return doesn't prints the output, you need console.log for printing the value that is returned to the function call
0
Thank you