4 ms·
If you want to use a semi-colon, then use a return statement. ie: return foo;
by dbpatterson 14y ago
If you want to use a semi-colon, then use a return statement. ie: return foo;
- ben0x539 14y agoThat only works for the function-level return value, and not something like returning from a let x = match blah { ... } block.