Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb888a0

Browse files
committed
fixed some typos
1 parent c3e6d96 commit bb888a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Week2/LESSONPLAN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ SECOND HALF (14.00 - 16.00)
299299
## 3. The `this` keyword and its relationship with `scope`
300300

301301
### Explanation
302-
- The environment(or scopeis knownich the line is being executed is know as “Execution Context”
302+
- The environment(or scope) in which the line is being executed is know as “Execution Context”
303303
- The object that `this` refers to, changes every time execution context is changed.
304304
- Whatever is calling the function passes the `this` value to it by default.
305305
- We can pass specific `this` by `.bind`, `.call` or `.apply`
@@ -440,7 +440,7 @@ person2Display(); // Prints Name: Paul Adams
440440

441441
The this keyword works differently in arrow functions.
442442

443-
- The `this` value inside the arrow function gets binded and calcuated and assigned based on its wrapper/container/parent `this` value.
443+
- The `this` value inside the arrow function gets binded and calculated and assigned based on its wrapper/container/parent `this` value.
444444
- The methods call(), apply(), and bind() will not change the value of this in arrow functions
445445
### Example
446446
```javascript

0 commit comments

Comments
 (0)