Skip to content

Commit a2213bd

Browse files
authored
Merge pull request rse#69 from Ramlmn/patch-1
return in Arrow Functions
2 parents 2e3cd5b + 3e11c93 commit a2213bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,8 +1509,8 @@ First class representation of a value that may be made asynchronously and be ava
15091509
6| setTimeout(() => |resolve|(`${msg} Hello ${who}!`), timeout);
15101510
6| });
15111511
6| }
1512-
6| msgAfterTimeout("", "Foo", 100).|then|((msg) =>
1513-
6| return msgAfterTimeout(msg, "Bar", 200);
1512+
6| msgAfterTimeout("", "Foo", 100).|then|(
1513+
6| (msg) => msgAfterTimeout(msg, "Bar", 200)
15141514
6| ).|then|((msg) => {
15151515
6| console.log(`done after 300ms:${msg}`);
15161516
6| });

0 commit comments

Comments
 (0)