1. Invoke code during page loading
  2. Invoke code during script loading
  3. Invoke code during downloading
  4. None of the mentioned

Share with your friends
AhmedNazir

Call

Answer: Option 3

When using async you don’t know when the file will be downloaded, so you can attach an onload event handler to the script tag. This will allow you to invoke or instantiate any code that will need to be run when the file is downloaded:

Talk Doctor Online in Bissoy App