Skip to content

Commit 232b719

Browse files
authored
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.
1 parent 94c4773 commit 232b719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ Other Style Guides
648648

649649
// good
650650
// lexical name distinguished from the variable-referenced invocation(s)
651-
const foo = function uniqueMoreDescriptiveLexicalFoo() {
651+
   const short = function longUniqueMoreDescriptiveLexicalFoo() {
652652
// ...
653653
};
654654
```

0 commit comments

Comments
 (0)