Skip to content

Commit e9327b5

Browse files
committed
Fixed issue BonsaiDen#70
1 parent 84ad5a9 commit e9327b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/function/this.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ local variable inside of `method` which refers to `Foo`.
7979
test();
8080
}
8181

82-
`that` is just a normal name, but it is commonly used for the reference to an
82+
`that` is just a normal variable name, but it is commonly used for the reference to an
8383
outer `this`. In combination with [closures](#function.closures), it can also
8484
be used to pass `this` values around.
8585

@@ -91,7 +91,7 @@ Another thing that does **not** work in JavaScript is function aliasing, that is
9191
var test = someObject.methodTest;
9292
test();
9393

94-
Due to the first case `test` now acts like like a plain function call; therefore,
94+
Due to the first case `test` now acts like a plain function call; therefore,
9595
`this` inside it will no longer refer to `someObject`.
9696

9797
While the late binding of `this` might seem like a bad idea at first, it is in

0 commit comments

Comments
 (0)