Skip to content

Commit 2b4d203

Browse files
committed
Added article and video for : How does prototypal inheritance work in JavaScript?
1 parent f060262 commit 2b4d203

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,24 @@
269269

270270
---
271271

272-
5. How does prototypal inheritance work in JavaScript?
272+
### How does prototypal inheritance work in JavaScript?
273+
<details>
274+
<summary><b>Answer</b></summary>
275+
276+
277+
#### Articles
278+
- 📜 [Inheritance and the prototype chain](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain)
279+
- 📜 [JavaScript Prototypes and Inheritance](https://www.freecodecamp.org/news/prototypes-and-inheritance-in-javascript/)
280+
- 📜 [Prototypal Inheritance using __proto__ in JavaScript](https://www.geeksforgeeks.org/prototypal-inheritance-using-__proto__-in-javascript/)
281+
282+
283+
#### Videos
284+
- 🎬 [Prototype and Prototypal Inheritance in Javascript ](https://youtu.be/wstwjQ1yqWQ?si=8iRD5kdU6y9xB3Bu)
285+
- 🎬 [JavaScript Prototypal inheritance ](https://youtu.be/1UTqFAjYx1k?si=gcgSo_3EA2ytLnRV)
286+
287+
</details>
288+
289+
---
273290
6. What are promises in JavaScript, and how do they work?
274291
7. Explain what "async/await" is and how it works.
275292
8. How can you handle errors in JavaScript?

0 commit comments

Comments
 (0)