Skip to content

Commit b4d2b6f

Browse files
committed
Added article and video for : Explain the differences between "setTimeout" and "setInterval."
1 parent 9ffc1a5 commit b4d2b6f

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
@@ -363,7 +363,24 @@
363363

364364
---
365365

366-
10. Explain the differences between "setTimeout" and "setInterval."
366+
### 10. Explain the differences between "setTimeout" and "setInterval."
367+
<details>
368+
<summary><b>Answer</b></summary>
369+
370+
371+
#### Articles
372+
- 📜 [JavaScript Timing Events](https://www.w3schools.com/js/js_timing.asp)
373+
- 📜 [JavaScript Timing Events: setTimeout and setInterval](https://www.freecodecamp.org/news/javascript-timing-events-settimeout-and-setinterval/)
374+
375+
376+
#### Videos
377+
- 🎬 [setTimeout() and setInterval() – JavaScript Tutorial](https://youtu.be/kTg-5HBqiyQ?si=Nvcw9MCyv7QxsB3f)
378+
- 🎬 [How to use setTimeout() and setInterval() ](https://youtu.be/0ewbT5YJdR8?si=aDrGCB25TrA61JCv)
379+
380+
</details>
381+
382+
---
383+
367384
11. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)?
368385
12. What is the difference between "map," "filter," and "reduce" in JavaScript?
369386
13. Explain the concept of "closures."

0 commit comments

Comments
 (0)