File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
441441The 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
You can’t perform that action at this time.
0 commit comments