0

Where is the "return" statement placed?

The test anticipates the answer of "At the end of the function description". In fact, a function may have multiple points with the return instruction, even in the first line of its description (e.g. checking some border values).

5th Mar 2019, 11:22 AM
Oleg O. Ivanov
2 Answers
+ 1
//Here is a lesson about return statement. Hope it helps you to understand https://www.sololearn.com/learn/JavaScript/1148/?ref=app
5th Mar 2019, 11:43 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
You didn't understand. It wasn't a question. What I'm saying is that the anticipated quiz answer is misleading.
6th Mar 2019, 3:35 PM
Oleg O. Ivanov