Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 30, 2016
1 parent e104fa4 commit 1f3538f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/boolean-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Avoid using `>=` and `<=` unless necessary. It's faster to use a simpler compari
```js
// slow
// two boolean conditions: `=== -1` and `> -1`
array.indexOf(i) >= 1
array.indexOf(i) >= -1

// fast
// just one boolean condition: `!== -1`
Expand Down

0 comments on commit 1f3538f

Please sign in to comment.