Skip to content

Commit f060262

Browse files
committed
Added article and video about Describe the purpose of "this" in JavaScript and how it is determined.
1 parent c4043cc commit f060262

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,26 @@
249249
</details>
250250

251251
---
252-
4. Describe the purpose of "this" in JavaScript and how it is determined.
252+
253+
### Describe the purpose of "this" in JavaScript and how it is determined.
254+
<details>
255+
<summary><b>Answer</b></summary>
256+
257+
258+
#### Articles
259+
- 📜 [This](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this)
260+
- 📜 [The JavaScript this Keyword](https://www.w3schools.com/js/js_this.asp)
261+
- 📜 [A super-easy way to determine 'this' in JavaScript](https://dev.to/kelvin0712/a-super-easy-way-to-determine-this-in-javascript-ob5)
262+
263+
264+
#### Videos
265+
- 🎬 [JavaScript this Keyword](https://youtu.be/gvicrj31JOM?si=lCROKAOHlXn8pT23)
266+
- 🎬 [What is this? | JavaScript](https://youtu.be/kE93zNJBCBw?si=5XL05ldgwJBo6ZYj)
267+
268+
</details>
269+
270+
---
271+
253272
5. How does prototypal inheritance work in JavaScript?
254273
6. What are promises in JavaScript, and how do they work?
255274
7. Explain what "async/await" is and how it works.

0 commit comments

Comments
 (0)