Strict equalities are now enforced

Tim van der Meij 2014-08-02 12:28:02 -07:00
parent 595983fcdf
commit 66cce2c944

@ -27,7 +27,7 @@ if (someVar) {
```
## Equalities
* Use only strict equalities (and inequalities) in control statements, e.g.
* Use only strict equalities (and inequalities), e.g.
```javascript
if (someVar === conditionA) {
@ -37,8 +37,6 @@ if (someVar === conditionA) {
}
```
_Note: This wasn't always followed, but any new code should do this._
## Variables
Variables must be defined only once within a function scope. Preferably at the top of the function.