Skip to content

Commit 9ffc1a5

Browse files
committed
Added article and video for What is the difference between "let," "const," and "var" when declaring variables.
1 parent a35db05 commit 9ffc1a5

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,25 @@
344344

345345
---
346346

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+
348366
10. Explain the differences between "setTimeout" and "setInterval."
349367
11. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)?
350368
12. What is the difference between "map," "filter," and "reduce" in JavaScript?

0 commit comments

Comments
 (0)