Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59a0bcc

Browse files
committed
7.3: Add Link to eslint rule.
1 parent af81beb commit 59a0bcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,8 @@ Other Style Guides
517517
518518
- [7.3](#7.3) <a name='7.3'></a> Never declare a function in a non-function block (if, while, etc). Assign the function to a variable instead. Browsers will allow you to do it, but they all interpret it differently, which is bad news bears.
519519
520+
eslint rules: [`no-loop-func`](http://eslint.org/docs/rules/no-loop-func.html).
521+
520522
- [7.4](#7.4) <a name='7.4'></a> **Note:** ECMA-262 defines a `block` as a list of statements. A function declaration is not a statement. [Read ECMA-262's note on this issue](http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf#page=97).
521523
522524
```javascript

0 commit comments

Comments
 (0)