Skip to content

Commit

Permalink
Merge pull request ryanmcdermott#62 from vsemozhetbyt/typos
Browse files Browse the repository at this point in the history
fix some typos in the README.md
  • Loading branch information
ryanmcdermott authored Jan 8, 2017
2 parents 3ea61da + 2dc28e2 commit 62afdb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ you should consider using TypeScript. It is an excellent alternative to normal
JavaScript, as it provides you with static typing on top of standard JavaScript
syntax. The problem with manually type-checking normal JavaScript is that
doing it well requires so much extra verbiage that the faux "type-safety" you get
doesn't make up for the lost readability. Keep your JavaScript, clean, write
doesn't make up for the lost readability. Keep your JavaScript clean, write
good tests, and have good code reviews. Otherwise, do all of that but with
TypeScript (which, like I said, is a great alternative!).

Expand Down Expand Up @@ -846,8 +846,8 @@ they are fixed if they can be.
**Bad:**
```javascript
// On old browsers, each iteration would be costly because `len` would be
// recomputed. In modern browsers, this is optimized.
// On old browsers, each iteration with uncached `list.length` would be costly
// because of `list.length` recomputation. In modern browsers, this is optimized.
for (let i = 0, len = list.length; i < len; i++) {
// ...
}
Expand Down

0 comments on commit 62afdb2

Please sign in to comment.