File tree 1 file changed +22
-3
lines changed
1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 250
250
251
251
---
252
252
253
- ### Describe the purpose of "this" in JavaScript and how it is determined.
253
+ ### 4. Describe the purpose of "this" in JavaScript and how it is determined.
254
254
<details >
255
255
<summary ><b >Answer</b ></summary >
256
256
269
269
270
270
---
271
271
272
- ### How does prototypal inheritance work in JavaScript?
272
+ ### 5. How does prototypal inheritance work in JavaScript?
273
273
<details >
274
274
<summary ><b >Answer</b ></summary >
275
275
287
287
</details >
288
288
289
289
---
290
- 6 . What are promises in JavaScript, and how do they work?
290
+
291
+ ### 6. What are promises in JavaScript, and how do they work?
292
+ <details >
293
+ <summary ><b >Answer</b ></summary >
294
+
295
+
296
+ #### Articles
297
+ - 📜 [ JavaScript Promise] ( https://www.geeksforgeeks.org/javascript-promise/ )
298
+ - 📜 [ JavaScript Promises] ( https://www.w3schools.com/js/js_promise.asp )
299
+ - 📜 [ How Promises Work in JavaScript ] ( https://www.freecodecamp.org/news/guide-to-javascript-promises )
300
+
301
+
302
+ #### Videos
303
+ - 🎬 [ JavaScript Promises -- Tutorial for Beginners] ( https://youtu.be/TnhCX0KkPqs?si=efYcK87KXHZxMyTG )
304
+ - 🎬 [ Promises] ( https://youtu.be/ap-6PPAuK1Y?si=mmz5HguoLYytRylH )
305
+
306
+ </details >
307
+
308
+ ---
309
+
291
310
7 . Explain what "async/await" is and how it works.
292
311
8 . How can you handle errors in JavaScript?
293
312
9 . What is the difference between "let," "const," and "var" when declaring variables.
You can’t perform that action at this time.
0 commit comments