3 ms·
If I could make one change to one language I currently use a lot, it would be to add implicit returns to javascript functions.
by Swizec 15y ago
If I could make one change to one language I currently use a lot, it would be to add implicit returns to javascript functions.
- baddox 15y agoYou just mean to make a function return the value of its last expression, right? That seems like an extremely small feature. Do you just prefer it as a matter of taste, or are there larger consequences of implicit returns that I'm not thinking of?