Why do we need to use an onload event in the script tag after using the async attribute?
(a) Invoke code during page loading
(b) Invoke code during script loading
(c) Invoke code during downloading
(d) Invoke code during reloading
I got this question in a job interview.
Asked question is from Script Loading in section Invocation and Performance Navigation of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)