You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,7 +344,25 @@
344
344
345
345
---
346
346
347
-
9. What is the difference between "let," "const," and "var" when declaring variables.
347
+
### 9. What is the difference between "let," "const," and "var" when declaring variables.
348
+
<details>
349
+
<summary><b>Answer</b></summary>
350
+
351
+
352
+
#### Articles
353
+
- 📜 [var, let, and const in JavaScript – the Differences Between These Keywords Explained](https://www.freecodecamp.org/news/differences-between-var-let-const-javascript/)
354
+
- 📜 [Difference between var, let and const keywords in JavaScript](https://www.geeksforgeeks.org/difference-between-var-let-and-const-keywords-in-javascript/)
355
+
356
+
357
+
#### Videos
358
+
- 🎬 [JavaScript Let vs Var vs Constant](https://youtu.be/XgSjoHgy3Rk?si=s-LGJ718BqqDV6E7)
359
+
- 🎬 [let & const in JS 🔥Temporal Dead Zone](https://youtu.be/BNC6slYCj50?si=-O8qYF50913QkyuD)
360
+
- 🎬 [Differences Between Var, Let, and Const](https://youtu.be/9WIJQDvt4Us?si=Mdd-PfA2nN_7P74-)
361
+
362
+
</details>
363
+
364
+
---
365
+
348
366
10. Explain the differences between "setTimeout" and "setInterval."
349
367
11. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)?
350
368
12. What is the difference between "map," "filter," and "reduce" in JavaScript?
0 commit comments