Q. What will console.log(Array(3).fill(0)); output?

क्या console.log(Array(3).fill(0)); आउटपुट?

A
[3]
B
[0, 0, 0]
C
[null, null, null]
D
[]

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment