JavaScript Quiz: What’s the length of this array? 🧩 #coding #javascript #programming

preview_player
Показать описание
🤔 Arrays in JavaScript can sometimes be surprising! Can you guess the output?
Рекомендации по теме
Комментарии
Автор

✅ Correct Answer:
⬇️⬇️⬇️


"3"


🔹 Explanation:

The array [, , , ] contains three "empty slots."
These empty slots don’t hold any actual values, but they still count towards the array’s length.
Therefore, arr.length is 3.

js_everyday
join shbcf.ru