Skip to content

Commit

Permalink
Fixes #31 - tweak language.
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Aug 16, 2014
1 parent a1e900c commit 137fc20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/todo-app.js
Expand Up @@ -101,9 +101,8 @@ class TodoList extends Collection {
// Arrow functions are more lightweight
// than normal functions, reflecting how they're expected to be used—
// they don't have a prototype and can't act as constructors.
// Because of how they inherit `this` from the containing scope,
// the meaning of `this` inside of them can't be changed with `call`
// or `apply`.
// Because of how they inherit `this` from the containing scope, the
// meaning of `this` inside of them __can__ be changed with `call` or `apply`.
//
// To recap, when using `=>`:
//
Expand Down

0 comments on commit 137fc20

Please sign in to comment.