09/12/2024
🚀 JavaScript Quiz Time! 🌟
📚 How well do you know JavaScript?
🤔 Question:
What is the difference between let and var in JavaScript?
1️⃣ A) Both do the same thing.
2️⃣ B) let is block-scoped, while var is function-scoped.
3️⃣ C) var is only used after ES6.
4️⃣ D) Both are used only for numbers.
💡 Answer in the comments!
🔥 Let’s see who’s the real JavaScript expert! 🧠