Skip to content

Commit f8ebd5f

Browse files
committed
Answered question 2 in part 1 of this.js
1 parent 932a71d commit f8ebd5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎this.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* The four principles of "this";
22
* in your own words. explain the four principle for the "this" keyword below.
33
*
4-
* 1. Window binding binds to what is usually the window object that executes you code. Ultimately it binds to the global object.
5-
* 2.
4+
* 1. Window Binding: Binds to what is usually the window object that executes you code. Ultimately it binds to the global object.
5+
* 2. Implicit Binding: When applying a method this pertains to what is left of the dot.
66
* 3.
77
* 4.
88
*

0 commit comments

Comments
 (0)