To Clarify the func-style description

As "foo" is still meaningless, but with "short", we can see that, we are intend to use a short alias name to make our coding happily.
This commit is contained in:
刘冲
2017-10-21 22:11:18 +08:00
committed by GitHub
parent 94c47734e8
commit 232b719fc5

View File

@@ -648,7 +648,7 @@ Other Style Guides
// good
// lexical name distinguished from the variable-referenced invocation(s)
const foo = function uniqueMoreDescriptiveLexicalFoo() {
   const short = function longUniqueMoreDescriptiveLexicalFoo() {
// ...
};
```