Omit return
Surprised that only this answer provided a similar situation
Instead of return x;
in the end, use g=x;
where g
is a global variable.
In other situations, it may be more shortened. Refer here for more about this.
return
Surprised that only this answer provided a similar situation
Instead of return x;
in the end, use g=x;
where g
is a global variable.
In other situations, it may be more shortened. Refer here for more about this.