Skip to content

Commit e342ec4

Browse files
authoredAug 15, 2017
Merge pull request getify#1009 from matthamil/patch-1
Typo in ch2: prinicple --> principle
2 parents 0e3b97b + 098c4e2 commit e342ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎es6 & beyond/ch2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ var controller = {
19291929

19301930
Lexical `this` in the arrow function callback in the previous snippet now points to the same value as in the enclosing `makeRequest(..)` function. In other words, `=>` is a syntactic stand-in for `var self = this`.
19311931

1932-
In cases where `var self = this` (or, alternatively, a function `.bind(this)` call) would normally be helpful, `=>` arrow functions are a nicer alternative operating on the same prinicple. Sounds great, right?
1932+
In cases where `var self = this` (or, alternatively, a function `.bind(this)` call) would normally be helpful, `=>` arrow functions are a nicer alternative operating on the same principle. Sounds great, right?
19331933

19341934
Not quite so simple.
19351935

0 commit comments

Comments
 (0)
Please sign in to comment.