3 ms·
Not really, sometimes you want to inspect the value that is to be returned before it is. So it makes sense to use the multi-line statements above, as otherwise
by daemin 11y ago
Not really, sometimes you want to inspect the value that is to be returned before it is. So it makes sense to use the multi-line statements above, as otherwise everyone will change it each time.
It will also allow you to put a breakpoint on the return statement and have it print the value out or for it to be used in other debugging.
This is especially useful when the function call is used within a more complicated formula.