Is there a similar way to convert between implicit and explicit returns in ES6 functions? Eg. (arg) => ('cool') And (arg) => { return 'cool' } I quiet often do this manually, both ways.
-
-
-
Yes, sure. Position the caret at the arrow, and you get it. It is called "add/remove braces for arrow function" (the name of this action is confusing, yes, don't know why it is named this way).pic.twitter.com/0HK1u1bMj7
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.