Y
Hacker News
new
|
ask
|
show
|
jobs
by
dbpatterson
4989 days ago
If you want to use a semi-colon, then use a return statement. ie: return foo;
1 comments
ben0x539
4989 days ago
That only works for the function-level return value, and not something like returning from a let x = match blah { ... } block.
link