|  | 
| 307 | 307 | 
 | 
| 308 | 308 | --- | 
| 309 | 309 | 
 | 
| 310 |  | -7. Explain what "async/await" is and how it works. | 
|  | 310 | +### 7. Explain what "async/await" is and how it works. | 
|  | 311 | +<details> | 
|  | 312 | +<summary><b>Answer</b></summary> | 
|  | 313 | + | 
|  | 314 | + | 
|  | 315 | +#### Articles | 
|  | 316 | +- 📜 [Async/Await Function in JavaScript](https://www.geeksforgeeks.org/async-await-function-in-javascript/) | 
|  | 317 | +- 📜 [Async/await](https://javascript.info/async-await) | 
|  | 318 | +- 📜 [How to Use Async/Await in JavaScript with Example JS Code](https://www.freecodecamp.org/news/async-await-in-javascript/) | 
|  | 319 | + | 
|  | 320 | + | 
|  | 321 | +#### Videos | 
|  | 322 | +- 🎬 [Async Await vs. Promises - JavaScript Tutorial for beginners](https://youtu.be/spvYqO_Kp9Q?si=VcTKJ9TOOmXT5AKK) | 
|  | 323 | +- 🎬 [async await](https://youtu.be/6nv3qy3oNkc?si=NoJBS9KHrkYdv_na) | 
|  | 324 | + | 
|  | 325 | +</details> | 
|  | 326 | + | 
|  | 327 | +--- | 
|  | 328 | + | 
| 311 | 329 | 8. How can you handle errors in JavaScript? | 
| 312 | 330 | 9. What is the difference between "let," "const," and "var" when declaring variables. | 
| 313 | 331 | 10. Explain the differences between "setTimeout" and "setInterval." | 
|  | 
0 commit comments