JavaScript: What is the output? #javascript #shorts

preview_player
Показать описание
Answer: 10
Explanation: With the var keyword, you can declare multiple variables with the same name. The variable will then hold the latest value. You cannot do this with let or const since they're block-scoped.
Рекомендации по теме