filmov
tv
What will be the output of the following JavaScript code? #javascript #shorts #js #quiz

Показать описание
What will be the output of the following JavaScript code? #javascript #shorts #js #quiz
✅ Correct Answer:
B) [1, 2, 3, 4]
🧾 Explanation:
a and b reference the same array in memory.
So, printing a will show the modified array.
#coding #javascript #js #webdevelopment #youtubeshorts #reactjs #quiz #interviewprep #codebypc #javascriptforbeginners
✅ Correct Answer:
B) [1, 2, 3, 4]
🧾 Explanation:
a and b reference the same array in memory.
So, printing a will show the modified array.
#coding #javascript #js #webdevelopment #youtubeshorts #reactjs #quiz #interviewprep #codebypc #javascriptforbeginners