Added link to Mozilla documentation on Function.bind

This commit is contained in:
Luke Libraro
2016-07-07 15:45:21 -05:00
parent 7fb8b03714
commit 3ad2404974

View File

@@ -2431,7 +2431,7 @@ Other Style Guides
```
<a name="naming--self-this"></a><a name="22.5"></a>
- [22.5](#naming--self-this) Don't save references to `this`. Use arrow functions or Function#bind. jscs: [`disallowNodeTypes`](http://jscs.info/rule/disallowNodeTypes)
- [22.5](#naming--self-this) Don't save references to `this`. Use arrow functions or [Function#bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind). jscs: [`disallowNodeTypes`](http://jscs.info/rule/disallowNodeTypes)
```javascript
// bad